Blazorise icon indicating copy to clipboard operation
Blazorise copied to clipboard

[Bug]: Datepicker triangle symbol is shown at bottom instead of top

Open panmona opened this issue 3 months ago • 4 comments

Blazorise Version

1.8.3

What Blazorise provider are you running on?

None

Link to minimal reproduction or a simple code snippet

https://blazorise.com/docs/components/date-picker

Steps to reproduce & bug description

  1. Scroll the datepicker text field to the bottom of the viewport. For example like this: Image
  2. Click into the datepicker
  3. Scroll down and check how the symbol is shown

What is expected?

The small triangle is displayed at the top of the datepicker pointing towards the field.

What is actually happening?

The small triangle is displayed at the bottom of the datepicker pointing away from the field: Image

What browsers do you see the problem on?

Chrome

Any additional comments?

No response

panmona avatar Oct 09 '25 13:10 panmona

Can you define the parameter StaticPicker="false"?

stsrki avatar Oct 09 '25 13:10 stsrki

Yes, but then the DatePicker scrolls with you on the page which is not the behaviour I want. I know that it is to be expected from setting StaticPicker=false.

panmona avatar Oct 10 '25 07:10 panmona

The only other way to make it work is to add position: relative to the immediate parent element. Or in the Blazorise way, Position="Position.Relative". Can you try that?

stsrki avatar Nov 20 '25 11:11 stsrki

We already use Position.Relative on the parent element. (Otherwise it is not shown directly below the field. However, this has no impact on the triangle symbol)

panmona avatar Nov 21 '25 10:11 panmona