question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feat: support `start` and `end` for positions

See original GitHub issue

hi, I would like to display the popover beneath the element, right now the xPosition only support three options (‘before’, ‘center’, ‘after’) which doesn’t cover my use-case.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
willshowellcommented, Nov 2, 2017

Ah ok that makes sense! I suppose it could be either,

xPosition: 'before' | 'start' | 'center' | 'end' | 'after';
yPosition: 'above'  | 'start' | 'center' | 'end' | 'below';
<sat-popover xPosition="start" yPosition="below"> ... </sat-popover>

or

overlapAnchorX: boolean;
overlapAnchorY: boolean;
overlapAnchor: boolean; // sets both X and Y to `true`
<sat-popover xPosition="before" yPosition="below" [overlapX]="true" [overlapY]="false"> ... </sat-popover>

Your suggestion is definitely less verbose, and I think easier to mentally picture. It would probably need to come with a breaking change to remove the overlapAnchor option.

0reactions
aitboudadcommented, Nov 2, 2017

@willshowell

Can you describe your use-case?

I would like to use it inside an input field, something like datepicker for material selection_106

Read more comments on GitHub >

github_iconTop Results From Across the Web

Careers - FT – About Us
Join the FT Talent Network to stay connected and hear about relevant job openings as they become available. FIND OUT MORE. SUSTAINABILITY. The...
Read more >
How pros support (position 5) win games in first 10 ... - YouTube
How pros support ( position 5) win games in first 10 minutes, feat n0tail ... how its done in the first 10 minutes...
Read more >
Jobs at Target
Search for job opportunities and internships with Target stores, supply chain facilities and headquarters.
Read more >
Working at Allied Universal
Browse available job openings at Allied Universal.
Read more >
FT Student Support Services Retention Specialist
Position Description. Grant Funded thru 2025. Assist Director with overall implementation of the SSS Work Plan; Monitor academic progress of participants; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found