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

Uncaught TypeError: Cannot read property 'style' of undefined #7

Open
Bemat opened this issue Mar 11, 2022 · 2 comments
Open

Uncaught TypeError: Cannot read property 'style' of undefined #7

Bemat opened this issue Mar 11, 2022 · 2 comments

Comments

@Bemat
Copy link

Bemat commented Mar 11, 2022

I added the component in a view. Move to another view and then go back to previous view I get "Uncaught TypeError: Cannot read property 'style' of undefined" in browser.
This happens only if I have some text in the autocomplete textfield, if textfield is empty I can switch the views normally without an error.

vcferror

@Thibstars
Copy link

I have the same issue using this component in https://github.com/vaadin-component-factory/autocomplete. Seems like this._overlayElement.style returns undefined in Vaadin.VcfAutocomplete._setOverlayPosition.

@scharfstein-dev
Copy link

FWIW, I was able to get rid of my AutoComplete components by replacing them with ComboBox. I don't think this issue will be fixed in the foreseeable future.

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

No branches or pull requests

3 participants