-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix closing components using the transition prop, and after scrolling the page
#3407
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
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
7fd628f
`useDidElementMove`: handle `HTMLElement`
RobinMalfait ffdc6c4
`useResolveButtonType`: handle `HTMLElement`
RobinMalfait 7dedb66
`useRefocusableInput`: handle `HTMLElement`
RobinMalfait b194e65
`useTransition`: handle `HTMLElement`
RobinMalfait 6f90b1e
ensure `containers` are a dependency of `useEffect`
RobinMalfait a7bbcee
`Menu`: track `button` and `items` elements in state
RobinMalfait 6298af9
`Combobox`: track `input`, `button` and `options` elements in state
RobinMalfait ef6afd5
`Disclosure`: track `button` and `panel` elements in state
RobinMalfait 5bd4d58
`Listbox`: track `button` and `options` elements in state
RobinMalfait d01b25b
`Popover`: track `button` and `panel` elements in state
RobinMalfait 2d14b2c
`Transition`: track the `container` element in state
RobinMalfait 632b2d0
remove incorrect leftover `style=""` attribute
RobinMalfait 477f259
simplify `useDidElementMove`, only accept `HTMLElement | null`
RobinMalfait 6a90d34
pass `HTMLElement | null` directly to `useResolveButtonType`
RobinMalfait d56dfcf
simplify `useResolveButtonType`, only handle `HTMLElement | null`
RobinMalfait 7128c24
simplify `useRefocusableInput`
RobinMalfait 4d71797
simplify `useElementSize`
RobinMalfait 8d26d4c
simplify `useOutsideClick`
RobinMalfait 7e61373
do not rely on `HTMLButtonElement` being available
RobinMalfait 697468d
update changelog
RobinMalfait 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
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.
Uh oh!
There was an error while loading. Please reload this page.