Havit.Blazor icon indicating copy to clipboard operation
Havit.Blazor copied to clipboard

[HxInputDate] When inputs loses focus while calendar is still open, "floating" is turned off

Open jirikanda opened this issue 2 years ago • 2 comments

Hard to describe, watch the image. Focus the input, click somewhere in the calendar where it does not close the calendar (> button, empty space, ...). At the moment the input label is changed and I think it should not happen.

2022-08-24_15h54_13

@crdo

jirikanda avatar Aug 24 '22 13:08 jirikanda

This reproduces when the input has no value and loses focus. We can put some dummy content to the input to ensure it "has a value" when the dropdown opens, but I would rather prefer resolving this issue purely in CSS.

@crdo Can you please take a look (low prio).

hakenr avatar Jan 07 '24 23:01 hakenr

(Same issue will probably apply to all input-components where there is something taking the focus, such as HxInputDateRange, HxAutosuggest (initial suggestions), HxSearchBox (static suggestions) etc.

We might try to keep the input focused, but I'm not sure it is possible (without flickering).

hakenr avatar Jan 07 '24 23:01 hakenr