-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Half initialised editor in Chrome/no syntax highlightning #24
Comments
Hello @pellmann, This seems like an super odd issue, that I have never seen before. But let's try to sort it out. Could you please tell me the Vaadin Version you are using? Thanks in advance, |
Hi @F0rce, the Vaadin version is 14.8.1 - I will try to create something to reproduce, tomorrow. Thank you! |
Hi @F0rce, after I tried to reproduce with a new project and did not succeeded.. I rebuild my initial one with production mode on (which I think I have also tried before) and now I can not reproduce it any longer.. also not without production mode., good for me, but sorry for the wrong alarm. |
No worries, I am happy that the proplem was resolved (by itself). Have a great time and thanks for the star, |
Describe the bug
I used an other/old version of Ace for Vaadin Flow. Now I changed everything to Ace 1.3.4. It looks much more complete and is based in lit and I like it! The problem is, that in Chrome (96.0.4664.110 on OSX) and also in Brave (Version 1.34.80, Chromium: 97.0.4692.71 on OSX) the Component seems to not be really ready. It does not have syntax highlightning and also I noticed, it does not have a border.
It does not change anything if I call the Ace Menu (Cmd,) and change e.g. the syntax.
It is okay - with syntax highlightning and a border - after I switch views in my application. This switch sets components (parents of parents of the Ace Editor) unvisibel and visible again.
In Firefox the problem does not occur at all.
To Reproduce
If needed I can try to create a Vaadin App to reproduce?
Screenshots
![Bildschirmfoto 2022-01-18 um 12 55 26](https://user-images.githubusercontent.com/12810428/149934546-cc6ee443-5ede-42df-9d55-b0d7c2bcf637.png)
Not working:
After switching views to an other and back:
![Bildschirmfoto 2022-01-18 um 12 55 40](https://user-images.githubusercontent.com/12810428/149934693-28702504-ffe7-4a4c-a121-10aa6e5f24e0.png)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: