You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use current Firefox or Chrome (see versions above), Safari works as expected
Make browser window small enough that you have to scroll down to the context menu trigger
Right-click to open the context menu
Actual behavior
The viewport will have scrolled up to the top.
Expected behavior
The viewport stays as it is and displays the context menu.
Possible solution
The regression was introduced between @blueprintjs/[email protected] and @blueprintjs/[email protected].
Looking at the commits/diff of popover2 between the releases, maybe it's related to the changes of shouldReturnFocusOnClose? Though the only changed code I saw was handleTargetBlur which (afaik) isn't called during the reproduction.
Blueprint_Popover2_ContextMenu2_scroll_bug.mov
The text was updated successfully, but these errors were encountered:
Environment
Code Sandbox
Link to a minimal repro:
https://codesandbox.io/s/blueprint-sandbox-forked-sk3n3 (<- not working with @blueprintjs/[email protected])
https://codesandbox.io/s/blueprint-sandbox-forked-n4ck3 (<- working with @blueprintjs/[email protected])
Steps to reproduce
Actual behavior
The viewport will have scrolled up to the top.
Expected behavior
The viewport stays as it is and displays the context menu.
Possible solution
The regression was introduced between @blueprintjs/[email protected] and @blueprintjs/[email protected].
Looking at the commits/diff of popover2 between the releases, maybe it's related to the changes of
shouldReturnFocusOnClose
? Though the only changed code I saw washandleTargetBlur
which (afaik) isn't called during the reproduction.Blueprint_Popover2_ContextMenu2_scroll_bug.mov
The text was updated successfully, but these errors were encountered: