From 59c1f3fb51cecd37242e5807ac95cd84038e9eb6 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 30 Jan 2024 01:13:58 +0100 Subject: [PATCH 1/2] docs(NcActions): children limitations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Grigorii K. Shartsev Co-authored-by: Raimund Schlüßler --- src/components/NcActions/NcActions.vue | 125 +++++++++++++++++++++++++ 1 file changed, 125 insertions(+) diff --git a/src/components/NcActions/NcActions.vue b/src/components/NcActions/NcActions.vue index 202a9f918d..8163ed60b1 100644 --- a/src/components/NcActions/NcActions.vue +++ b/src/components/NcActions/NcActions.vue @@ -807,6 +807,131 @@ p { } ``` + +## NcActions children limitations + +`` is supposed to be used with direct `` children. +Although it works when actions are not direct children but wrapped in custom components, it has limitations: +- No `inline` prop property, including a single action display; +- Accessibility issues, including changed keyboard behavior; +- Invalid HTML. + +``` + + + + + +```