Skip to content

Shopping list: Clear All hides the results container and never shows it again #489

Description

@dubadub

Found during review of #456. Pre-existing on main.

clearList() in templates/shopping_list.html adds hidden to #shopping-list-results, but nothing removes it afterwards. After clearing, the "no items" message rendered into #list-content is invisible until the page is reloaded, and adding a recipe from another tab (live updates) renders into a hidden container.

Fix: remove the hidden toggle, or clear it in displayShoppingList().

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