You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this PR #372 and ticket we introduced some autocomplete drop down custom width logic. Since consuming it in Senior we are seeing some unexpected behavior with the SQFormAutoComplete drop downs.
What I think we should do is revert the PR so it doesn't block any application releases. Look at the solution again with a clean slate and find a better fix.
Autocomplete width goes wider than the modal width causing a horizontal scroll
This is without the lockWidthToField prop set to true.
Styles from our form/card component
Consumer code for the actions issue
I left out some of the additional fields but this is what I think matters. Here is the full source code link
I can also see some unexpected behavior in Storybook.
In our storybook this story should use the lockwidth prop to make the drop down with not wider than the field. On initial render it is not working
The next time the drop down is clicked it does perform correctly.
I think lockWidthToField should be default to true to make all these changes passive.
The text was updated successfully, but these errors were encountered:
In this PR #372 and ticket we introduced some autocomplete drop down custom width logic. Since consuming it in Senior we are seeing some unexpected behavior with the SQFormAutoComplete drop downs.
![image](https://user-images.githubusercontent.com/20329437/129743446-07d7c527-518b-4bc9-88d4-f8b139f1390c.png)
![image](https://user-images.githubusercontent.com/20329437/129748853-33db7f7b-17d6-46c7-b52e-1d758f5c4f5d.png)
What I think we should do is revert the PR so it doesn't block any application releases. Look at the solution again with a clean slate and find a better fix.
Autocomplete width goes wider than the modal width causing a horizontal scroll
This is without the
lockWidthToField
prop set to true.Styles from our form/card component
Consumer code for the actions issue
I left out some of the additional fields but this is what I think matters. Here is the full source code link
Senior issues and Storybook issues: https://www.loom.com/share/0e70d6f614b84cafb7b3e3d51340ff23
I can also see some unexpected behavior in Storybook.
![image](https://user-images.githubusercontent.com/20329437/129742498-6fc9da92-03ee-4649-b97a-e376375874b3.png)
In our storybook this story should use the
lockwidth
prop to make the drop down with not wider than the field. On initial render it is not workingThe next time the drop down is clicked it does perform correctly.
I think
lockWidthToField
should be default to true to make all these changes passive.The text was updated successfully, but these errors were encountered: