diff --git a/driver/js/packages/hippy-vue/src/renderer/native/style/css-selectors.js b/driver/js/packages/hippy-vue/src/renderer/native/style/css-selectors.js index d64fedd72a7..725eb8dc63c 100644 --- a/driver/js/packages/hippy-vue/src/renderer/native/style/css-selectors.js +++ b/driver/js/packages/hippy-vue/src/renderer/native/style/css-selectors.js @@ -228,8 +228,7 @@ class PseudoClassSelector extends SimpleSelector { } match(node) { - if (!node) return false; - return node.cssPseudoClasses && node.cssPseudoClasses.has(this.cssPseudoClass); + return !!node; } mayMatch() {