diff --git a/apps/showcase/components/doc/DocPTViewer.vue b/apps/showcase/components/doc/DocPTViewer.vue index 1152f45f0..7f5e69b39 100644 --- a/apps/showcase/components/doc/DocPTViewer.vue +++ b/apps/showcase/components/doc/DocPTViewer.vue @@ -32,6 +32,7 @@ export default { cmpName = componentName; if (componentName === 'ConfirmDialog') cmpName = 'Dialog'; + else if (componentName === 'ScrollTop') cmpName = 'Button'; if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`; else if (item.label.startsWith('pc')) selector = `[data-pc-name="${item.label.toLowerCase()}"]`;