Skip to content

Commit 325d84d

Browse files
committed
isHidden was returning true if the input was visible, one too many !
1 parent ad9246e commit 325d84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ export class ValidationService {
882882
* @returns
883883
*/
884884
private isHidden(input: HTMLElement) {
885-
return !!( input.offsetWidth || input.offsetHeight || input.getClientRects().length );
885+
return !( input.offsetWidth || input.offsetHeight || input.getClientRects().length );
886886
}
887887

888888
/**

0 commit comments

Comments
 (0)