Skip to content

Unhandled Exceptions from Promises in ActionSheet [libraryBrowser] #6816

Open
@diegoeche

Description

@diegoeche

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

When clicking outside of the ActionSheet, an exception is thrown that is not handled.

Image

Reproduction Steps

  1. Go to "My Media" -> Movies (or any other section with libraryBrowser components)
  2. Click Sort/Filter/Select View
  3. ActionSheet should be render, click outside of it
  4. Exception is not handled

Expected/Actual behaviour

Exception of clicking outside should be handled (No error displayed, no noise in devtools)

Logs

No response

Server version

10.11.0

Web version

10.11.0 (66b21c5-dirty)

Build version

Dev Server

Platform

Linux

Browser

Firefox

Additional information

This is a companion to #6815

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions