+
Skip to content

Wrong code for changing preferredPlacement 'top-start' to 'bottom-start' #50

Open
@AlexRom-01

Description

@AlexRom-01

There's a mistake while checking available space to place tooltip in src/Postel/index.tsx on lines 510-515. If initial value is placement='top-start' it would change to 'bottom-start' and then immediately to 'top-start' again in next check.

if (placement === "top-start") {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载