position() method positions an element covering the target element at the first time
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.3k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
Trying to show tooltip for an input field on focus.
position() method positions the tooltip(position: absolute) partially covering the target input field at the first time.
my: left
at: right
collision: flipfit
It positions correctly the 2nd time when the input field on focus.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the first-focus tooltip behavior through the position() method with left, right, and collision: flipfit, then compare it with the second focus. Investigate why the absolutely positioned tooltip initially covers the input; done means the tooltip is correctly positioned on the first focus as well as subsequent focuses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100