-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Add popovers without overlay #19011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add popovers without overlay #19011
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
2eda49d
feat: refactored popover component to work without overlay
allroundexperts 6c39e70
fix: added onShowModal and onHideModal callbacks
allroundexperts 2e69592
feat: added more listeners
allroundexperts 9fca908
Merge branch 'main' into fix-15289
allroundexperts 5d48e5b
Merge branch 'main' into fix-15289
allroundexperts 41226e3
feat: updated popover without overlay implementation
allroundexperts 3b6871f
Merge branch 'main' into fix-15289
allroundexperts 872ad78
fix: comments
allroundexperts 4288309
Merge branch 'main' into fix-15289
allroundexperts 2010c6f
feat: handled popover migration changes
allroundexperts 39457e7
Merge branch 'main' into fix-15289
allroundexperts 11ca1bd
feat: lint changes"
allroundexperts d5330f5
feat: fix emoji popover consistency
allroundexperts d023e16
Merge branch 'main' into fix-15289
allroundexperts 138dfcf
feat: use refs for popover anchor identification
allroundexperts 2a9c74b
Merge branch 'main' into fix-15289
allroundexperts 256bb31
feat: added extra line in const file
allroundexperts 06282c3
feat: fix lint error for useEffect hook
allroundexperts 653f295
feat: more cleaning
allroundexperts 41ab963
Merge branch 'main' into fix-15289
allroundexperts cd9b7d3
feat: add popover to more items
allroundexperts be09f48
Merge branch 'main' into fix-15289
allroundexperts f8b9e31
Merge branch 'main' into fix-15289
allroundexperts 53e2de6
fix: lint errors
allroundexperts 07628c6
fix: more popover fixes
allroundexperts e15c660
fix: NAB comments
allroundexperts cb1daff
Merge branch 'main' into fix-15289
allroundexperts 9a1fd90
fix: handled more comments
allroundexperts 1c3bfaa
fix: lint errors
allroundexperts 289e030
fix: more lint errors
allroundexperts ed9fb14
fix: remove popoverwithoutoverlay const
allroundexperts 3546860
fix: report action item hover stuck fix
allroundexperts 4a7abaf
fix: lint errors
allroundexperts c538b02
merge with main and resolve conflicts
allroundexperts f033a3e
Merge branch 'main' into fix-15289
allroundexperts 8655c02
feat: lint errors
allroundexperts 28d8f5a
feat: add reason for disabling exhaustive-deps rule in PopoverWithout…
allroundexperts c526124
Merge branch 'main' into fix-15289
allroundexperts bf2120b
feat: lint errors
allroundexperts 58ea8a0
Merge branch 'main' into fix-15289
allroundexperts 7efadff
fix: handle more code style changes
allroundexperts 362f5d5
Merge branch 'main' into fix-15289
allroundexperts 75f5ab4
fix post merge errors
allroundexperts d866919
feat: merge with main
allroundexperts eaacce0
feat: merge with main
allroundexperts 37da8c4
Merge branch 'main' into fix-15289
allroundexperts 1c2502d
fix: lint fixes
allroundexperts 5cc78c8
fix: merge with main
allroundexperts d71eff1
fix: console errors
allroundexperts 80af7e8
fix: safari image picker issues
allroundexperts 5c23bf5
Merge branch 'main' into fix-15289
allroundexperts c494ff4
Merge branch 'main' into fix-15289
allroundexperts 24045e4
fix: lint errors
allroundexperts ffc460e
Merge branch 'main' into fix-15289
allroundexperts d9c9191
Merge branch 'main' into fix-15289
allroundexperts d35b4d8
lint fix
allroundexperts 41ba45b
merge with main
allroundexperts 27fcc40
Merge branch 'main' into fix-15289
allroundexperts edcc556
Merge branch 'main' into fix-15289
allroundexperts 74f8e0d
Merge branch 'main' into fix-15289
allroundexperts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the root cause for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File picker can be opened dynamically only if its initiated from inside the event handler that was for a click. If you look at the logic of this component, we were not triggering the
click
function inside the event listener function. That is why this error was occurring. As a result, we need to move the trigger inside theonItemSelected
method instead.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still concerned about this workaround.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any suggestion here? This seems to be a hard blocker from Safari.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah Safari has some hard-to-please requirements to prevent what they think are "pop-ups" so most stuff has to be user-driven. @narefyev91 or @aimane-chnaif any additional thoughts on how we might get around this?