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

CountDownTimer widget - context object refresh stops timer #12

Open
psilordOG opened this issue Oct 17, 2022 · 0 comments
Open

CountDownTimer widget - context object refresh stops timer #12

psilordOG opened this issue Oct 17, 2022 · 0 comments

Comments

@psilordOG
Copy link

CountDownTimerWidget

Using this widget on a responsive web page. The EndDate attribute is coming from a page parameter context object. When the page parameter object is changed, committed and refreshed, the timer stops counting down.

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Add the countdowntimer widget to a page and configure it to obtain the EndDate from a Datetime attribute of a page attribute.
  2. A button that updates the page attribute object, commits the change and refreshes the page attribute in the client.
  3. The countdown stops and does not resume.
  4. Manual update/refresh via button changes the timer value (seconds reduce once) but the automatic countdown does not resume.

Expected behavior
Expect the countdown to continue after EndDate attribute is updated and refreshed.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 106

Additional context
Add any other context about the problem here.
We are attempting to use this widget to countdown to a specific date and time and then show a checkbox. The countdown starts and updates visually until the context is changed or refreshed. Afterward it appears "stuck" and no longer updates the countdown digits.

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

1 participant