-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.4.0
-
Component/s: Selectivity
-
Release Notes Summary:The nuxeo-selectivity element correctly handles the height attribute.
-
Backlog priority:650
-
Sprint:nxGang Sprint 11.1.5, nxGang Sprint 11.1.6, nxGang Sprint 11.1.11
-
Story Points:2
Steps to reproduce:
- add to nuxeo-note-create-layout.html after the description in a nuxeo-textarea element
<nuxeo-document-suggestion role="widget" selectedItem = "selectedItem" value="{{document.properties.dc:language}}" label="Doc lie" required="true" selection-formatter="{{_selectionFormatter_objContact}}"> </nuxeo-document-suggestion>
- add to the javascript part the code for selection formatter
_selectionFormatter_objContact(doc) { var texte = '<iron-icon src="/nuxeo' + doc.properties['common:icon'] + '" class="avatar"></iron-icon>' + doc.title; return texte; },
- Go to the creation form of a Note
- select one document by hitting "work" in the suggestion field
- observe that the text for the selected item exceeds by the bottom of the input : it corresponds to the attached screenshot
With a higher value for .selectivity-single-select min-height, the display is correct/better : see More
I also attach the default behavior where the text does not exceed : see
- is related to
-
ELEMENTS-864 Make input elements height consistent
- Resolved
-
ELEMENTS-899 Make selectivity.css customizable
- Resolved
- Is referenced in