New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Field modal when editing a content type schema needs resizing. #4058
Comments
Hello @flipmcf 😊, I think somehow we can reduce the height of the internal (select) component so it fits with an outer view. If you haven't started working on this, I would like to work on this too. |
I find this behaviour happens in a few places in Volto. The dropdown always appears to display below the cursor and is contained within the parent of whatever triggered the dropdown, causing you have to scroll the parent to be able to then scroll the dropdown to see the bottom of the list. Looking at the |
I implemented the suggested change, by assigning the value ScreenRecording.mov |
hey @flipmcf , @JeffersonBledsoe. Adding a
plone-issue-fix.mp4 |
Maybe portaling option? |
Yeah portalling options works as well.
to customSelectStyles in /widgets/SelectStyling.jsx. This seems to be work fine and doesn't break things in other places the component is used in. Screencast.from.08-03-24.05.51.57.PM.IST.webm |
@victorchrollo14 would you be willing to create a PR for this implementation? It looks good. |
Yeah, I'll make a Pr for it. |
hey @stevepiercy. I ran the tests using
This is normal right?I have run |
@victorchrollo14 I'm not a Volto developer. I just do issue triage and documentation for Volto. I think you're on the right path and have satisfied most if not all requirements. When you create a PR, GitHub workflows will run and let you know if you missed anything. |
Ok. Thank you |
…ing to scroll both the main modal and dropdown menu to view the field choices (plone#4058).
…ing to scroll both the main modal and dropdown menu to view the field choices (plone#4058).
…ing to scroll both the main modal and dropdown menu to view the field choices (plone#4058).
Describe the bug
The "Add Field" modal when editing a content type schema is cut off - Select box is too large for window.
To Reproduce
From the control panel -> content types (localhost:3000/controlpanel/dexterity-types )
Edit the schema of any content type (three dots at the end of the row, select 'schema')
Click "select" in the type drop-down.
Note that the list is cut off, and the user must scroll the main window to see the last few choices.
Expected behavior
The main modal shouldn't scroll. Only the dropdown should scroll. You shouldn't have to use 2 scroll bars to get to the "yes / no" field choice.
Screenshots
Software (please complete the following information):
Volto 16.3.0
Plone 6.0.0rc2
plone.restapi 8.32.4
CMF 2.6.0
Zope 5.7
Python 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
PIL 9.3.0 (Pillow)
Add-ons
@plone/volto-slate 16.3.0
@eeacms/volto-accordion-block 6.0.0
@kitconcept/volto-blocks-grid 5.2.0
@kitconcept/volto-slider-block 4.0.0
@eeacms/volto-matomo 3.0.1
The text was updated successfully, but these errors were encountered: