diff --git a/packages/core/src/base/style/BaseStyle.js b/packages/core/src/base/style/BaseStyle.js index 6b93daadf..95a8d421a 100644 --- a/packages/core/src/base/style/BaseStyle.js +++ b/packages/core/src/base/style/BaseStyle.js @@ -131,17 +131,15 @@ const css = ({ dt }) => ` clip: rect(0 0 0 0); height: 1px; margin: -1px; + opacity: 0; overflow: hidden; padding: 0; + pointer-events: none; position: absolute; + white-space: nowrap; width: 1px; } -.p-hidden-accessible input, -.p-hidden-accessible select { - transform: scale(0); -} - .p-overflow-hidden { overflow: hidden; padding-right: ${dt('scrollbar.width')};