Skip to content

onClickOutside: Document ignore option better #4827

@vitomir-knime

Description

@vitomir-knime

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy