framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
17.97k stars 3.24k forks source link

Svelte. Popup two way binding to opened state does not work. (with demo) #4265

Open ievgennaida opened 2 months ago

ievgennaida commented 2 months ago

"dependencies": { "framework7": "^8.3.0", "framework7-svelte": "^8.3.0", "svelte": "^4.2.0" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.4.5", "vite": "^4.4.9" }

Describe the bug

Popup has invalid two way binding. Backdrop is not disposed when

To Reproduce

See that backdrop is remaining. See that popup cannot be opened second time.

Expected behavior

Popups can be opened and closed multiple times.