alkacon / opencms-core

The Java open source content management system by Alkacon Software
http://www.opencms.org
GNU Lesser General Public License v2.1
520 stars 575 forks source link

Missing scrollbar in Multi-group selector widget #760

Closed veggie4ever closed 1 year ago

veggie4ever commented 1 year ago

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 commented 1 year ago

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).

veggie4ever commented 1 year ago

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 commented 1 year ago

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

gWestenberger commented 1 year ago

Fixed in master branch.