这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug]: Date Picker is cut off when positioned on the right end of a page #823

@lucafaggianelli

Description

@lucafaggianelli

Tremor Version

3.11.1

Link to minimal reproduction

none

Steps to reproduce

  1. Position a DatePicker at the right end of a page
  2. make it smaller than it normally is, i.e. :`className="w-58"``
  3. click on it so the calendar menu opens
  4. notice that the calendar is cut off
  5. an horizontal scroll bar appears in the page

What is expected?

the floating menu containing the calendar should be automatically moved to fit into the page

I would also accept an anchor option to force the menu to be anchored on the right of the input field rather than on the left

What is actually happening?

localhost_5173_ (2)

What browsers are you seeing the problem on?

Chrome

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: BlockedA fix for this issue is blocked on another internal or external fix being in placeType: BugConfirmed bug, something is not working as intendedreleasedreleased on @beta-tremor-v4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions