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
{{ message }}
Repository navigation
Popup duplicates when initially opened and page loads directly (Next.js + Framework7-React) #4338
When the page loads with a popup initially open (opened={true}), multiple popup instances are created.
After closing the popup, another duplicate popup remains visible meaning more than one instance of the same popup exists in the DOM.
Why popup is open by default and why this is needed?
because the popup is controlled through URL query parameters or hash (for example, when a user directly opens a URL like ?popup=open or #popup that should display the popup on load).
Notice that another popup instance remains open, duplicated on initial render
Expected behavior
Only a single popup instance should exist.
If the popup starts open (opened={true}), it should open once and close normally without leaving duplicates.
Actual Behavior
When the popup starts open on page load, multiple popup instances are rendered.
After closing one, another duplicate popup stays open.
changed the title [-]Popup duplicates when initially opened (opened={true}) and page loads directly (Next.js + Framework7-React)[/-][+]Popup duplicates when initially opened and page loads directly (Next.js + Framework7-React)[/+]on Oct 31, 2025
Activity
[-]Popup duplicates when initially opened (opened={true}) and page loads directly (Next.js + Framework7-React)[/-][+]Popup duplicates when initially opened and page loads directly (Next.js + Framework7-React)[/+]nolimits4web commentedon May 19, 2026
This issue was incorrectly closed on 2026-05-19 by a compromised credential (Shai-Hulud npm supply-chain worm). Reopening — apologies for the noise.