Skip to content
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

Missing scrollbar in Multi-group selector widget #760

Closed
veggie4ever opened this issue Apr 3, 2023 · 4 comments
Closed

Missing scrollbar in Multi-group selector widget #760

veggie4ever opened this issue Apr 3, 2023 · 4 comments

Comments

@veggie4ever
Copy link

When using the multi group select widget GroupMultiSelectorWidget and having a long list of groups there is no scrollbar indicating that there are more groups to choose from.
image
Please add a scrollbar similar to the ones in other dialogs, e.g. like this:
image

Thanks a lot in advance.
Best regards
Kai

@gWestenberger
Copy link
Contributor

I can not reproduce this in OpenCms 14, the widget has the same scrollbar (it only shows up when the mouse cursor is over the widget).

@gWestenberger gWestenberger closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2023
@veggie4ever
Copy link
Author

That is very strange. There is definitely no scrollbar (tested in Firefox and Chrome). Not even when hovering with the mouse over the field.
image
It seems (no matter why) that the scrollbar was moved out of the visible area on purpose:
image

Could you please recheck this or give a hint what might be the problem?
We are using the Widget as the only field in one tab:
image

This is how our schema looks like:

...
			<xsd:element name="PermissionGroups" type="OpenCmsString" minOccurs="0" />
...
				<Setting>
                    <PropertyName>PermissionGroups</PropertyName>
                    <DisplayName>%(key.label.PermissionGroups)</DisplayName>
                    <Description>%(key.label.PermissionGroups.help)</Description>
                    <Widget>GroupMultiSelectorWidget</Widget>
                    <WidgetConfig>groupfilter=.*L-RES-INTRANET.*</WidgetConfig>
					<Mapping>
						<MapTo>permission:GROUP:+r+v|GROUP.ALL_OTHERS:|GROUP.Projectmanagers:+r+v+w+c</MapTo>
					</Mapping>
                </Setting>`

@gWestenberger
Copy link
Contributor

It's the tab that's causing the problem. I will look at this again.

@gWestenberger gWestenberger reopened this Apr 6, 2023
gWestenberger added a commit that referenced this issue Apr 6, 2023
This caused problems for some widgets in the content editor (github issue #760).
@gWestenberger
Copy link
Contributor

Fixed in master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants