Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in the console if same name pan elements are available on the page. #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

msamgan
Copy link
Contributor

@msamgan msamgan commented Oct 16, 2024

The current behavior of the package takes the last element on the page into consideration, ignoring all others. But the user doesn't know if by mistake that happened.

This PR will give the user a warning in the console if any pan element has the same name. It's a warning because the package must have broken it would have been an error.

On-Page
image

In Console.
image

@msamgan msamgan changed the title Warn same name Warning in the console if same name pan elements are available on the page. Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant