-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PopOver] Fixed bug where PopOver renders relative to screen rather t…
…han layout container in React Fiber (#7663) * replaced all occurances of onTouchTap with onClick * changed tests to use 'click' event, and seem to all be passing. * [eslint] Alphabetically ordered onClick in props for code quality * [Popover] Added 1ms timeout to render popover to ensure placement is created correctly, after [RenderToLayer] has completed it's render * [Popover] removed unused development prop on [RenderToLayer] * [PopOver] Fixed tests to be inline with the new behaviour (waiting for layout to be setup correctly). Also fixed [Menu] tests to work with recent onTouchTap -> onClick changes. * [PopOver] cleared timeout on unmount and simplified timeout without delay
- Loading branch information
1 parent
a96ddc1
commit 8432807
Showing
3 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters