framework7io / framework7

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

Svelte. Popover binding on opened property is ignored. (with demo) #4268

Open ievgennaida opened 7 months ago

ievgennaida commented 7 months ago

Popover binding on opened property is ignored. Cannot change popover visibility programatically.

  "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

Popover binding on opened property is ignored. Cannot change popover visibility programatically.

To Reproduce

Steps to reproduce the behavior:

  1. Open demo.
  2. Click toolbar button.
  3. Click on link button.
  4. See that popover remains even even when closed programatically.

Expected behavior

Popover respects opened propery change & binding.

Actual Behavior

Popover ignores opened property state.