FlowingCode / SimpleTimerAddon

Vaadin Flow integration of https://github.com/annsonn/simple-timer
Apache License 2.0
5 stars 3 forks source link

Timer resets when placed in the com.vaadin.flow.component.tabs.Tabs #39

Open Kukis13 opened 1 month ago

Kukis13 commented 1 month ago

Describe the bug

When the timer is placed inside one of the com.vaadin.flow.component.tabs.Tabs then, when switching between the tabs the timer stops and never resumes.

Steps to reproduce:

  1. Create at least two tabs inside com.vaadin.flow.component.tabs.Tabs
  2. Place and start Simple Timer in one of the tabs
  3. Switch to another tab
  4. Come back to initial tab - the timer is reset

Expected behavior

I would expect the timer to continue counting down/up when switching between the tabs.

Minimal reproducible example

No response

Add-on Version

2.1.1

Vaadin Version

24.3.9

Additional information

No response

javier-godoy commented 1 month ago

Confirmed.