Skip to content

Commit c49abb9

Browse files
thetaPCShaneK
andauthored
Update core/src/utils/input-shims/hacks/scroll-assist.ts
Co-authored-by: Shane <[email protected]>
1 parent e468923 commit c49abb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/utils/input-shims/hacks/scroll-assist.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ const setManualFocus = (el: HTMLElement) => {
192192
*
193193
* Without this check, we would need to call `ev.stopPropagation()` on the
194194
* 'focusin' event of each focusable sibling to prevent the scroll assist
195-
* listener from incorrectly moving focus back to the input. This approach
196-
* is less maintainable and more error-prone.
195+
* listener from incorrectly moving focus back to the input. That approach
196+
* would be less maintainable and more error-prone.
197197
*/
198198
if (document.activeElement?.parentNode === el.parentNode) {
199199
return;

0 commit comments

Comments
 (0)