-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EuiSkipLink] Allow consumer
onClick
s to be called even if no valid…
… destination or fallback destination exists (#6355) * Allow consumers to skip/pass empty strings for both destinationId and fallbackDestination and call their own custom `onClick` scroll/focus logic * changelog
- Loading branch information
Constance
authored
Nov 14, 2022
1 parent
cae53d2
commit 2e657f4
Showing
3 changed files
with
33 additions
and
5 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,3 @@ | ||
**Bug fixes** | ||
|
||
- `EuiSkipLink` now correctly calls `onClick` even when `fallbackDestination` is invalid |