Skip to content

Conversation

@MxKevinBeqo
Copy link
Contributor

Checklist

  • Contains unit tests ✅
  • Contains breaking changes ❌
  • Compatible with: MX 8, 9, 10, 11
  • Works in Android ✅
  • Works in iOS ✅
  • Works in Tablet ✅

Feature specific

  • Comply with designs ✅
  • Comply with PM's requirements ✅

This PR contains

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Other (describe)

What is the purpose of this PR?

This PR fixes an issue where using a conditional visibility on the IntroScreen widget, would cause the widget to not render.

Relevant changes

Being a rendering issue on the React Native widget code, the provided fix was to use the React Native Interaction Manager to queue the visibility state change after interactions.

What should be covered while testing?

Testing the reproduction scenario from the related ticket on Android and iOS.

@MxKevinBeqo MxKevinBeqo self-assigned this Dec 22, 2025
@MxKevinBeqo MxKevinBeqo requested a review from a team as a code owner December 22, 2025 10:09
});
} else {
setVisible(true);
InteractionManager.runAfterInteractions(() => setVisible(true));
Copy link
Collaborator

Choose a reason for hiding this comment

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

We'll need to update this after upgrading RN to 0.83+ (https://reactnative.dev/docs/interactionmanager)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created a task reminding us for usages of InteractionManager throughout the codebase.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants