vaadin / collaboration-engine

The simplest way to build real-time collaboration into web apps
https://vaadin.com/collaboration
Other
3 stars 1 forks source link

Field highlighter is not visible for DatePicker #22

Closed javier-godoy closed 2 years ago

javier-godoy commented 3 years ago

Describe the bug When using Collaboration Engine, the field highlighter is not visible for DatePicker unless the DatePicker is focused before opening the popup.

To Reproduce

  1. Implement the example from https://vaadin.com/docs/v14/ce/tutorial.html:
  2. Open the form in two tabs (view1, view2)
  3. Focus the TextField in view1
  4. Click on the calendar icon of DatePicker in view1 (without focusing the DatePicker)
  5. The DatePicker popup opens and allows edition from view1
  6. view2 doesn't display the field highlighter 😱

Expected behavior view2 should display the field highlighter.

Note that the field highlighter is visible in the following case:

  1. Focus the DatePicker in view1
  2. The DatePicker popup opens in view1
  3. view2 correctly displays the field highlighter 😌

Screenshots Observed behavior image

Expected behavior image

Versions

Peppe commented 3 years ago

Thanks for the report!

@web-padawan, do you have some ideas on we could listen to the popup opener button to enable field highlighter? I guess we have something similar for opening combo box?

web-padawan commented 2 years ago

Issue moved to vaadin/web-components #3553 via ZenHub