Closed danulqua closed 1 month ago
This inset
property is not coming from the picker, I believe you are using a custom positioning function. Another thing is that your table may be re-rendering when you type text, in any case, this is not a date picker issue.
I played with various positioning and the result was always the same, you can see here that even recalculate-positon
is not being called as expected
Describe the bug After closing the issue #940 , the issue with the date picker jumps on value update wasn't solved. After deeper investigation, I found that on value change the
style
attribute of the.dp--menu-wrapper
element is being updated, exactly theinset
value.To Reproduce Steps to reproduce the behavior:
.dp--menu-wrapper
elementstyle
inset
was updatedExpected behavior Nothing is being updated.
Actual behavior
inset
value of thestyle
attribute is being updated, and because of that, date picker changes its position. If I want date picker to be repositioned, there is a dedicated proprecalculate-position
which I want to use and rely on.Screenshots https://github.com/user-attachments/assets/19408654-1f4f-4fc2-9a7d-4c2e8eb4cfa8
Desktop & mobile (please complete the following information):