simonwep / simonwep/pickr

Force Pickr to Always Open Below the Button

Open
#342 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
4.5k
Forks
292
PR merge metrics
No merged PRs in 30d

Description

Hello,

First of all, thank you for this amazing library!

I’m currently using Pickr in my project, and I’m trying to make it always open directly below the button (or element) specified in the el parameter, regardless of the available screen space. I’ve tried using the position parameter with values like bottom-middle, but sometimes it still adjusts its position based on the viewport.

Could you please guide me on how to force Pickr to always open below the button without adjusting? Is there a built-in way to achieve this, or would I need to manually handle positioning using custom JavaScript?

Thank you in advance for your help!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by locating Pickr's positioning-option handling and the viewport adjustment behavior, then verify whether a below-button mode can bypass that adjustment without breaking other placements or small-screen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.