Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HACKHACK: TextArea testing issues with scrollHeight #5976

Open
adidahiya opened this issue Feb 27, 2023 · 0 comments
Open

HACKHACK: TextArea testing issues with scrollHeight #5976

adidahiya opened this issue Feb 27, 2023 · 0 comments

Comments

@adidahiya
Copy link
Contributor

It appears that we can't accurately test behavior of the <TextArea> component which relies on element.scrollHeight. Even when doing a full Enzyme render with mount() attaching those test components to a container element in the DOM, scrollHeight is being calculated as 0, which throws off <TextArea> calculations.

This issue tracks finding an alternative testing approach for this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant