Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Popup: the positioning and aligning of the Popup around the trigger are limited #313

Closed
mnajdova opened this issue Oct 4, 2018 · 1 comment
Labels
⚙️ enhancement New feature or request vsts Paired with ticket in vsts

Comments

@mnajdova
Copy link
Contributor

mnajdova commented Oct 4, 2018

Feature Request

Problem description

The positioning and aligning of the Popup relative to the trigger are limited. For example, the following position is not possible to be defined with the current properties:

image

Proposed solution

We have currently prop align which indicates where should the popup be placed relatively to the trigger. We are missing property that will indicate with which part of the Popup should the trigger be aligned (top, center, start, end, bottom).

@pkumarie2011 pkumarie2011 added the vsts Paired with ticket in vsts label Oct 23, 2018
@levithomason levithomason added ⚙️ enhancement New feature or request and removed ⚙️ enhancement New feature or request labels Nov 30, 2018
@levithomason
Copy link
Member

levithomason commented Nov 30, 2018

The Semantic Popup allows for positioning on any side. It also also allows for adding vertical and horizontal offsets to align it perfectly. It has had many iterations for a few years.
Let's start with this API:

position: https://react.semantic-ui.com/modules/popup/#variations-position
offset: https://react.semantic-ui.com/modules/popup/#variations-offset

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⚙️ enhancement New feature or request vsts Paired with ticket in vsts
Projects
None yet
Development

No branches or pull requests

3 participants