Skip to content

updateOnMove doesn't update inline stlying width #694

Description

@HendrikWismans

Checks

Version

v3

Description

I'm update splide to v3 (from v2). The updateOnMove function doesn't work correct.

I want:

Mobile: splide 285px width
Large mobile: splide with 2 tiles
Desktop: 3 tiles

On initial page load on mobile width is correct. If you make your screen larger, the first calculated inline styling width is still available and not update.

note; on desktop destroy isn't working, that's another bug. (#693)

Reproduction Link

https://codepen.io/hendrik___/pen/LYOvWPo

Steps to Reproduce

Expected Behaviour

Update inline styling width.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions