Commit 7d958d0
committed
fix(ui5-li): only handle F7/F2 when tabbable elements exist
F7 and F2 navigation now checks if there are tabbable elements
inside the list item before handling the event. If no tabbable
elements exist (e.g., delete button with tabindex="-1"), the
event propagates to allow parent components like Tokenizer to
handle it with their custom logic.
This fixes interference with Tokenizer's F7 behavior while
maintaining correct navigation for custom list items.1 parent 363e871 commit 7d958d0
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
540 | 538 | | |
541 | 539 | | |
542 | 540 | | |
543 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
544 | 549 | | |
545 | 550 | | |
546 | 551 | | |
| |||
555 | 560 | | |
556 | 561 | | |
557 | 562 | | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
558 | 568 | | |
559 | 569 | | |
560 | 570 | | |
| |||
0 commit comments