forked from mui/base-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Select): handle pseudo-element bounds in mouseup detection
- Add getPseudoElementPadding utility to measure ::before and ::after dimensions - Update mouseup detection logic to include pseudo-element padding in clickable area - Fix unexpected Select closing when clicking within extended pseudo-element bounds Fixes mui#1232
- Loading branch information
1 parent
4d8f6a7
commit d1629c2
Showing
1 changed file
with
31 additions
and
9 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