-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationpr welcome
Description
The ignore
option of onClickOutside
hook accepts an array of strings, which are then used as selector strings to query for elements to be ignored. But, this isn't mentioned in the docs, there is only an example with an array of refs.
Using an array of selector strings is quite helpful, as it gives more flexibility with more complex cases. However, since it's not documented, it's not clear if it's perhaps a deprecated feature that will be removed in the future.
If you confirm that this is actually a feature that is intended by the team to be publicly visible and supported long-term, I'd be happy to open a PR to update the docs.
ilyaliao
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationpr welcome