Skip to content

SvelteDate reactivity issue #13513

Closed
@felix-roehrich

Description

@felix-roehrich

Describe the bug

In a previous issue #12717, I discovered a caching problem which was fixed in 210. Now after updating I am having a similar issue. After some trials, this seems to have been introduced from 246 to 247 and exists in the latest 262.

Reproduction

  1. Open the REPL and click the button. The text in the button should become unresponsive after a few clicks.
  2. The issues disappears when the {date.getMonth() == 1} expression is moved away from the class:, e.g. having the expression as text will not trigger the issue.
  3. Having just {date} as the button text is always unresponsive (This is minor caveat I discovered when trying to reproduce the issue.)

Logs

-

System Info

REPL

Severity

blocking an upgrade

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions