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 "animate" propery is ignored. (with demo) #4269

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

animate={false} has no effect for popup. Popup is still animated.

To Reproduce

Steps to reproduce the behavior:

  1. Go to demo
  2. Click on button
  3. See popup animation.

Expected behavior

animation is ignored when

Actual Behavior

Popup is animated when animate={false}

Additional context

See code of the svelte popup, animate propery is not passed to all f7 methods.