The component has width and height other than 0 when the appearance is on interaction-only
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your CodeSandbox example below:
Set the appearance to interaction-only
What is the expected behavior?
The component must have width and height of 0, and if an interaction is required, set the correct width and the correct height (this is the default behavior of the cloudflare official script)
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
Firefox, Windows. Deps:
"next": "13.4.12",
"react": "18.2.0"
Bug report
What is the current behavior?
The component has width and height other than 0 when the appearance is on interaction-only
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your CodeSandbox example below: Set the appearance to interaction-only
What is the expected behavior? The component must have width and height of 0, and if an interaction is required, set the correct width and the correct height (this is the default behavior of the cloudflare official script)
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React? Firefox, Windows. Deps: "next": "13.4.12", "react": "18.2.0"