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

[BUG] DOM property referrerPolicy being incorrectly handled as referrerpolicy #200

Open
AiraNadih opened this issue Mar 23, 2024 · 0 comments

Comments

@AiraNadih
Copy link

Description

I've encountered a warning in the console that seems to indicate a potential issue with the handling of a DOM property. Specifically, the property referrerpolicy is being flagged as invalid, with a suggestion to use referrerPolicy instead.

Warning Message

Warning: Invalid DOM property `referrerpolicy`. Did you mean `referrerPolicy`?

Steps to Reproduce

  1. Include a DOM element with the referrerPolicy attribute in the HTML or JSX.
  2. Observe the console for any warnings when the page is rendered.

Expected Behavior
The referrerPolicy attribute should be correctly recognized and handled without warnings, as it is a valid attribute for certain elements like <img> and <iframe>.

Actual Behavior
The console displays a warning suggesting referrerPolicy instead of referrerpolicy, which might indicate an inconsistency in property naming conventions or handling within the library being used.

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

No branches or pull requests

1 participant