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

Half initialised editor in Chrome/no syntax highlightning #24

Closed
pellmann opened this issue Jan 18, 2022 · 4 comments
Closed

Half initialised editor in Chrome/no syntax highlightning #24

pellmann opened this issue Jan 18, 2022 · 4 comments
Labels
vaadin Vaadin related issues

Comments

@pellmann
Copy link

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
Not working:
Bildschirmfoto 2022-01-18 um 12 55 26

After switching views to an other and back:
Bildschirmfoto 2022-01-18 um 12 55 40

Desktop (please complete the following information):

  • Chrome (96.0.4664.110 on OSX)
  • Brave (Version 1.34.80, Chromium: 97.0.4692.71)
@F0rce
Copy link
Owner

F0rce commented Jan 18, 2022

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?
And if it is possible, could you please upload a simple vaadin starter that (hopefully) displays the problem, so I could investigate further (GitHub would be the ideal place therefore).

Thanks in advance,
David

@F0rce F0rce added awaiting answer Awaiting the answer of the creator of the issue/feature request. bug Something isn't working labels Jan 18, 2022
@pellmann
Copy link
Author

Hi @F0rce, the Vaadin version is 14.8.1 - I will try to create something to reproduce, tomorrow. Thank you!

@pellmann
Copy link
Author

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.

@F0rce
Copy link
Owner

F0rce commented Jan 18, 2022

No worries, I am happy that the proplem was resolved (by itself).

Have a great time and thanks for the star,
David

@F0rce F0rce added vaadin Vaadin related issues and removed bug Something isn't working awaiting answer Awaiting the answer of the creator of the issue/feature request. labels Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vaadin Vaadin related issues
Projects
None yet
Development

No branches or pull requests

2 participants