Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #636: UI unresponsiveness due to custom transition state gone (Pt 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
danishjafri88 authored and kylehickinson committed Jan 21, 2019
1 parent 1302986 commit b06ea37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Client/Frontend/Browser/BrowserTrayAnimators.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ private extension TrayToBrowserAnimator {
let tabManager = bvc.tabManager
let displayedTabs = tabManager.tabsForCurrentMode
guard let expandFromIndex = displayedTabs.index(of: selectedTab) else { return }

guard displayedTabs.index(of: selectedTab) != nil else {
transitionContext.completeTransition(false)
return
}
bvc.view.frame = transitionContext.finalFrame(for: bvc)

// Hide browser components
Expand Down

0 comments on commit b06ea37

Please sign in to comment.