Skip to content

AutoReposition cancels closeOnScroll behaviour #348

@krikke26

Description

@krikke26

What is the current behavior?

When closeOnScroll is set to true and autoReposition is set to true or uses default value then the pickr dropdown is removed.
If closeOnscroll is set to true and autoReposition is set to FALSE then the pickr dropdown is not removed

Please provide the steps to reproduce and create a JSFiddle.

https://jsfiddle.net/uqbsgwt4/

What is the expected behavior?

The pickr dropdown should be removed on scroll

Your environment:

Version (see Pickr.version): 1.9.1
Used bundle (es5 or normal one): normal
Used theme (default is classic): nano
Browser-version:  Chrome Version 137.0.7151.120 (Official Build) (arm64)
Operating-system:  OSX Sequoia 15.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    unconfirmedThe problem isn't really clear

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions