Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable flip property in popover components #595

Merged
merged 3 commits into from Aug 26, 2019

Conversation

phwebi
Copy link
Contributor

@phwebi phwebi commented Aug 23, 2019

After upgrading mycase_app to gears 5, we had come escalations regarding our calendar page freezing for certain users. @rmacklin discovered that this is related to a current memory leak issue in reactstrap (reactstrap/reactstrap#1587, reactstrap/reactstrap#1482), where the popover/tooltip component attempts to flip between top/bottom, and in the case where there's no room at all, there's an infinite loop that causes the page to crash.

This PR disables the flip feature that causes the memory leaks. We can re-enable the feature once the issue is addressed in reactstrap.

@phwebi phwebi force-pushed the bugfix/uncontrolled-tooltip-memory-leak branch 2 times, most recently from bc3d3fe to 253c2c2 Compare August 23, 2019 22:27
@phwebi phwebi force-pushed the bugfix/uncontrolled-tooltip-memory-leak branch from 253c2c2 to 477c6f8 Compare August 23, 2019 22:28
Copy link
Contributor

@gthomas-appfolio gthomas-appfolio left a comment

Choose a reason for hiding this comment

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

Added a question on this, will discuss in office.

src/components/Popover.js Outdated Show resolved Hide resolved
@phwebi phwebi force-pushed the bugfix/uncontrolled-tooltip-memory-leak branch from e8850bd to 5444152 Compare August 26, 2019 16:35
Copy link
Contributor

@gthomas-appfolio gthomas-appfolio left a comment

Choose a reason for hiding this comment

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

Looks phabulous Phoebe, thanks!

@gthomas-appfolio gthomas-appfolio merged commit 877bb3c into master Aug 26, 2019
@phwebi phwebi deleted the bugfix/uncontrolled-tooltip-memory-leak branch January 29, 2020 01:02
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.

None yet

2 participants