Replies: 1 comment
|
I can't speak for the intent, but you read it right, and here is where it matters. In practice that only bites in one place:
Until that changes, put |
|
I can't speak for the intent, but you read it right, and here is where it matters. In practice that only bites in one place:
Until that changes, put |
Uh oh!
There was an error while loading. Please reload this page.
In the internal implementation of useFocusTrap, when checking for visible, it uses the hidden function. However, the hidden function internally checks only whether element.style.display === 'none', meaning it only looks at inline styles. Therefore, if display: none is applied via a class name, it seems the hidden function would not detect it. I’m wondering if this behavior is intentional.
All reactions