You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
AdminPortal.show() doesn't pop up the admin-box at first click, but it does on the second click. I'm also getting a warning from history.ts
You are trying to block a POP navigation to a location that was not created by @remix-run/router. The block will fail silently in production, but in general you should do all navigation with the router (instead of using window.history.pushState directly) to avoid this situation.
To Reproduce
Steps to reproduce the behavior:
Create a button
Embed AdminPortal.show on button click
Click the button. At first, it won't pop up the admin box.
Click the button again for the second time. This time it opens the admin box
Expected behavior
A clear and concise description of what you expected to happen.
It should open the admin box at first click
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
AdminPortal.show() doesn't pop up the admin-box at first click, but it does on the second click. I'm also getting a warning from history.ts
You are trying to block a POP navigation to a location that was not created by @remix-run/router. The block will fail silently in production, but in general you should do all navigation with the router (instead of using window.history.pushState directly) to avoid this situation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
It should open the admin box at first click
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: