Skip to content

Auto placement #1

Closed
Closed
@FezVrasta

Description

@FezVrasta
Member

Improve the placement to support an auto mode which will calculate the available space on the 4 directions and will then put the popper on the direction with more space.

How can this idea be improved?

Activity

changed the title [-]Auto Flip mode[/-] [+]Auto placement[/+] on Apr 7, 2016
rosskevin

rosskevin commented on Apr 13, 2016

@rosskevin

auto with a preference or ordered array of preferences i.e. ['right', 'bottom', 'left', 'top'] is what I would want to see.

modified the milestone: v1.0.0 on Aug 11, 2016
FezVrasta

FezVrasta commented on Aug 11, 2016

@FezVrasta
MemberAuthor

@rosskevin I'm going to work on this issue, may you elaborate your idea? What would be the difference between yours, and just the current array of order preferences we have?

self-assigned this
on Aug 13, 2016
FezVrasta

FezVrasta commented on Nov 7, 2016

@FezVrasta
MemberAuthor

This PR (#87) has been closed since it was based on outdated code. The issue is still in my to do list if nobody else wants to adopt it.

8 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @rosskevin@FezVrasta

      Issue actions

        Auto placement · Issue #1 · floating-ui/floating-ui