-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EuiPopover][EuiInputPopover] Allow more control via
focusTrapProps
(…
…#6955) * Give consumers more control over `focusTrapProps` - the number of consumers with edge cases / enough knowledge to start overriding props is going to be very small, and they should be allowed to do so if needed * Remove `onTrapDeactivation` prop in favor of `focusTrapProps.onDeactivation` * changelog * [EuiInputPopover] Extend same `focusTrapProps` flexibility - this is more of a bugfix IMO since this should have been working before
- Loading branch information
Showing
3 changed files
with
18 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- Updated `EuiPopover` to allow consumer control of all `focusTrapProps` | ||
|
||
**Bug fixes** | ||
|
||
- Fixed `EuiInputPopover` to allow consumer control of its focus trap via `focusTrapProps` | ||
|
||
**Breaking changes** | ||
|
||
- Removed `onTrapDeactivation` prop from `EuiPopover`. Use `focusTrapProps.onDeactivation` instead | ||
|