-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(stack-view): space not working in textarea (backport to 16.x) (#1482
) Backport 4c06b91 from #1480. <br> ## PR Checklist Please check if your PR fulfills the following requirements: - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) - [ ] If applicable, have a visual design approval ## PR Type What kind of change does this PR introduce? - [x] Bugfix - [ ] Feature - [ ] Code style update (formatting, local variables) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] CI related changes - [ ] Documentation content changes - [ ] Other... Please describe: ## What is the current behavior? Using `Space` button in textarea in stack view triggers expand/collapse and is not registred in it. Issue Number: CDE-1939 ## What is the new behavior? Using `Space` button on any interactable HTML element (Textarea, Input, Select, Link, Button) register the event on the element and don't trigger expand/collapse on stack view block. ## Does this PR introduce a breaking change? - [ ] Yes - [x] No ## Other information Co-authored-by: Valentin Mladenov <valentin.mladenov@broadcom.com>
- Loading branch information
1 parent
05d7b49
commit fed07eb
Showing
2 changed files
with
157 additions
and
2 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