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

KAD-3459 Prevent flashing of design library in Lifter LMS #580

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oakesjosh
Copy link
Contributor

@oakesjosh oakesjosh commented Sep 27, 2024

This prevents the flashing of the icon when editing an Lifter LMS course. Both us and lifter are trying to inject content, using the same method, and are overwriting each others buttons. I tried modifying the selector to make sure we're in the same div, different divs, etc, but switching to a mutation observer seems to be the most reliable way to prevent this from happening. Open to other ideas though

367327015-707f697c-ce77-48cb-b9ed-d949accc61ea.mov

@mark-c-woodard
Copy link
Contributor

It worked for me too, but I am curious why. We’re still putting the button in the same place we were before. so why isn’t lifter just deleting our button like it did before?

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