Skip to content

wdr-ui-element polution #38

@kekema

Description

@kekema

Steps to reproduce:

  1. go to https://www.webdatarocks.com/demos/js/pivot-table-demo/
  2. right-click on an element outside of the pivot table, for example the Angular image for the Angular page - and from the dropdown menu select 'inspect'
  3. in my observation, the class 'wdr-ui-element' is getting added at this very moment, so in this case to the IMG element.
Image

Initially, number of 'wdr-ui-element' elements on the page is 53; after the 'inspect', it has become 54:

Image

I tested also with my browser (chrome) in Incognito mode.

EDIT: in addition as related to the right-click: when you right-click on a column or row header, you get the context menu. Now if you don't select anything in the context menu but move your mouse pointer to any other position outside the pivot component and you right-click again, it will show the context menu again:

Image

whereas normal behavior is to get the std browser context menu.

I don't need any context menu's, so if I can disable this feature as to get rid of the issue, that would also be great.

Thanks for a great component,
Karel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions