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

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

Open
ievgennaida opened this issue Apr 22, 2024 · 0 comments
Open

Comments

@ievgennaida
Copy link

ievgennaida commented Apr 22, 2024

"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"
}

  • Platform and Target: Chrome browse
  • Live Link

https://codesandbox.io/p/devbox/ancient-worker-28d7qk?file=%2Fsrc%2Fcomponents%2Fapp.svelte%3A2%2C17&workspaceId=2d73e229-48af-4d68-8904-63f7078fb0e7

Describe the bug

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

To Reproduce

  • Open DEMO
  • Click button to open popup.
  • Click to close popup.
  • Click to open popupagain.
  • Click button in the sandbox two times.

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

Expected behavior

Popups can be opened and closed multiple times.

@ievgennaida ievgennaida changed the title Popup invalid Popup two way binding to opened state does not work in Svelte. Apr 22, 2024
@ievgennaida ievgennaida changed the title Popup two way binding to opened state does not work in Svelte. Svelte. Popup two way binding to opened state does not work. Apr 22, 2024
@ievgennaida ievgennaida changed the title Svelte. Popup two way binding to opened state does not work. Svelte. Popup two way binding to opened state does not work. (with demo) Apr 23, 2024
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