Skip to content

Enhance the Auto Adjust Placement option #67

@francoismassart

Description

@francoismassart

OS, browser, uiv version

macOS Sierra v10.12.6
Firefox, Mobile Safari
uiv v0.11.9

Which component

Popover

Steps to reproduce the problem

  • Visit the popover component page in the documentation with a small screen/width (320px)
  • Click on the button to toggle the "Dynamic Popover"

Expected behavior

I was expecting to see the entire popover content with the Auto Adjust Placement enabled.

Actual behavior

Part of the popover is hidden. This is due to the fact that only four placements options are supported: top, right, left, bottom.

Possible enhancement

Add support for additional placement options like on the Popover x plugin...

  • Top Left
  • Top Right
  • Bottom Left
  • Bottom Right
  • Right Top
  • Right Bottom
  • Left Top
  • Left Bottom

Use these new placement options automatically when Auto Adjust Placement is enabled.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions