-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.4.0, 3.0.0-SNAPSHOT
-
Component/s: Slots
-
Release Notes Summary:nuxeo-slot is compatible with native HTML slots.
-
Tags:
-
Backlog priority:500
-
Impact type:API change
-
Upgrade notes:
-
Team:GANG
-
Sprint:nxGang Sprint 11.1.15, nxGang Sprint 11.1.16
-
Story Points:3
Currently, the slot attribute is used to define nuxeo-slot's name. However, the slot attribute is standardly used to define the name of the native HTML slot where the slottable element will be inserted. Therefore, we need to replace the slot attribute of nuxeo-slot with a different attribute to denote the name (name is a suitable candidate). This would allow nuxeo slots to be assigned to native slots:
<nuxeo-slot name="COLLECTION_ACTIONS" slot="selectionActions" model="[[actionContext]]"></nuxeo-slot>
This is required preventing issues such as those reported under ELEMENTS-1011.
Note that if no name attribute is present on a nuxeo-slot's instance, the slot attribute will be used as the name instead. This is required to keep compatibility with the previous way of specifying the slot's name.
- causes
-
ELEMENTS-1080 Fix nuxeo-slot content position
- Resolved
- is related to
-
ELEMENTS-1033 Make nuxeo-actions-menu compatible with native HTML slots
- Open
-
NXP-27538 Allow readonly users to download / add to collection from trash tab
- Resolved
-
NXP-28076 Drawer items revert order on small screens
- Resolved
- is required by
-
NXP-27537 Allow restore from trash search
- Resolved
-
NXP-27954 Replace slot by the name attribute on nuxeo-slot
- Resolved
- Is referenced in