Commit 8769540
Fix double focus on article body in Augmentation mode
Use spread operator to conditionally add tabIndex attribute only when shouldPreviewBodyHaveTabIndex() returns true. This prevents the outer previewBody div from having any tabIndex in Augmentation/Selection modes, eliminating the double focus issue where both outer and inner divs were being focused.
Co-authored-by: aanchalbhansali <185747873+aanchalbhansali@users.noreply.github.com>1 parent aef0758 commit 8769540
File tree
1 file changed
+1
-1
lines changed- src/scripts/clipperUI/components/previewViewer
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments