Repository navigation
Commit 8fdf6be
authored
fix(BottomSheet): a sheet removed while open returns focus where a close would (#10061)
* fix(BottomSheet): a sheet removed while open returns focus where a close would
* fix(BottomSheet): the removal repair runs with the registration, and a whole stack removed at once returns focus to its first opener
* fix(BottomSheet): when the sheet beneath left too, its repair returns focus for the stack
* docs(BottomSheet): FR19 covers standalone sheets; a removed switcher flow is a recorded gap
* fix(BottomSheet): focus that rested on the page body before a removal stays there
* refactor(BottomSheet): the shared removal repair decides whether focus rested on the page
* docs(BottomSheet): the removal rule is FR20, so FR19 stays with the drag checks
* Merge branch 'main' into fix/bottomsheet-unmount-returns-focus1 parent f384e62 commit 8fdf6be
6 files changed
Lines changed: 528 additions & 19 deletions
File tree
- .changeset
- apps/storybook/stories
- docs/specs/components/BottomSheet
- packages/core/src
- BottomSheet
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
0 commit comments