Skip to content

Why the menu closing animation has unhandled promise reject? #5638

Answered by asyncLiz
VietNguyenQuoc asked this question in Q&A
Discussion options

You must be logged in to vote

At a glance I don't think I see a reason for animateClose() on the menu to reject the promise. I think it can just resolve early instead of rejecting when there aren't elements or when animations are canceled.

@e111077 do you agree? If so that should be a simple PR we can accept.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@asyncLiz
Comment options

Answer selected by VietNguyenQuoc
@e111077
Comment options

@asyncLiz
Comment options

@VietNguyenQuoc
Comment options

@VietNguyenQuoc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants