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

Add autoReposition option, to make custom positioning easier #115

Merged
merged 1 commit into from
Jul 5, 2019

Conversation

Jetroid
Copy link
Contributor

@Jetroid Jetroid commented Jul 5, 2019

Whilst playing with pickr, I wanted to be able to do a couple of custom positioning things with the .pcr-app element, like move it around with https://interactjs.io/ or make it stick to the edge of my window as I scrolled, but the automatic re-positioning build into pickr was making this difficult as it would overwrite any custom style changes.

pickr would be more hackable if there was an option to easily turn off automatic re-positioning on scroll/resize.

@simonwep
Copy link
Owner

simonwep commented Jul 5, 2019

I really like that! Thank's for this awesome contribution :D

@simonwep simonwep added the feature request New feature requested label Jul 5, 2019
@simonwep simonwep merged commit 09d074b into simonwep:master Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants