Closed lolcabanon closed 1 year ago
Hey @lolcabanon
Thanks for PR, but I'm going to keep the fix I had in place. The key part was this here:
height: 32px
overflow: visible
The overflow is needed to ensure that other fields don't get 'pushed' down when the calendar is opened. So when I tested your fix, the calendar is sticky on scroll, but it does also push:
Whereas with my fix you can see the overflow in action:
Cool makes sense!
When I have the time i'll try to remember what I was trying to fix at first with the class spectrum-Form-itemField
.
I think I had noticed something weird when playing with the field settings that made me look in the native components code to see how they were coded.
I'll let you know!
Thanks @lolcabanon. Appreciate it!
This is my enhanced version of your fix related to the issue 1612392680 I opened.
The class
spectrum-Form-itemField
probably fix what you were trying to fix by addingpickerContainer
and also is in line with Spectrum and Budibase conventions. (I don't remember where I found that class, but there is a native BB component using this pattern, probably text input?)Sorry I had not made this pull request before, I hope you did not spend too much time on that fix... I'm working on a project for a client, so I just forked in a private repo and added stuff I needed quickly. #oops