Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Command+F should close the pulldown on the URL bar Fixes #5340 #5344

Merged
merged 1 commit into from
Nov 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions js/stores/windowStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ const doAction = (action) => {
})
break
case WindowConstants.WINDOW_SET_FINDBAR_SHOWN:
if (action.shown) {
windowState = windowState.setIn(activeFrameStatePath().concat(['navbar', 'urlbar', 'suggestions', 'shouldRender']), false)
}
windowState = windowState.mergeIn(['frames', FrameStateUtil.getFramePropsIndex(windowState.get('frames'), action.frameProps)], {
findbarShown: action.shown
})
Expand Down