Skip to content

Repeating a pending signal write publishes it before its conditional content #3462

Description

@GabbeV

Describe the bug

Repeating setShow(true) while the first change is pending publishes Show as true, but the conditional reading the same signal still displays "hidden".

Your Example Website or App

https://s.olid.uk/id/V-wdoDtgQ1mwUrFVEr8rkQ

Steps to Reproduce the Bug or Issue

  1. Wait about five seconds for initialization.
  2. Click Run.
  3. After about 1.5 seconds, Show becomes true while Panel still says "hidden".
  4. Panel only updates several seconds later.

Expected behavior

Show and the conditional should publish consistently. Repeating the same pending write should not expose the signal before the conditional can update.

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Firefox

Additional context

Reproduces on next at 0d8347a.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions