Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

fix(inlinePositioning): infinite loop #994

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

atomiks
Copy link
Owner

@atomiks atomiks commented Oct 28, 2021

@kenticomartinh

This prevents .setProps() from being called if it encountered that placement already. It still resets the array so that flipping can continue to work again — it just breaks the loop. Tried it on your CodePen and the issue is gone.

Fixes #977

@atomiks atomiks merged commit 3598727 into master Oct 29, 2021
@atomiks atomiks deleted the fix/inlinePositioning-loop branch October 29, 2021 11:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite loop when combining flip with inline positioning
1 participant