Skip to content

Hide flyout after Events are re-enabled when creating a block#4055

Merged
moniika merged 1 commit into
RaspberryPiFoundation:developfrom
moniika:category-event
Jul 21, 2020
Merged

Hide flyout after Events are re-enabled when creating a block#4055
moniika merged 1 commit into
RaspberryPiFoundation:developfrom
moniika:category-event

Conversation

@moniika

@moniika moniika commented Jul 20, 2020

Copy link
Copy Markdown
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

#4034

Proposed Changes

Hide flyout after events are re-enabled when creating a block from the flyout.

Reason for Changes

Allows for the category event for a flyout category closing to be triggered, making events for category open/close more consistent.

Test Coverage

Tested manually in playground by observing events logged.

Tested on:

  • Desktop Chrome

Additional Information

The logic for hiding the flyout while Events are disabled was introduced in #1078.
This doesn't appear to cause any unintended side effects.

@rachel-fenichel rachel-fenichel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, and I have no memory of why it was inside the try.

@moniika
moniika merged commit e88ec53 into RaspberryPiFoundation:develop Jul 21, 2020
@moniika
moniika deleted the category-event branch July 21, 2020 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants