Skip to content

Disable the disabling of the add-on on shadow roots #84

@gbesacier

Description

@gbesacier

Describe the bug
I see that in #7 you added a check to disable ScrollAnywhere if a shadow root is detected. Apparently you did this because another addon was make a heavy use of shadow roots. The problem is that there are some legitimate non-addon use of shadow roots too, and I would like to use ScrollAnywhere with them. One example is the Home Assistant dashboard. Can you make this feature an option "enable/disable ScrollAnywhere on shadow roots"? Thanks

Steps To Reproduce
Steps to reproduce the behavior:

  1. Open an Home Assistant dashboard, e.g. https://demo.home-assistant.io/
  2. Scroll with the left button, it doesn't work
  3. Open ScrollAnywhere.xpi and remove that part (!e.target || !e.target.openOrClosedShadowRoot)
  4. Scroll with the left button, it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions