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

FIX: Make copybutton remain for a second during success #176

Merged
merged 2 commits into from Nov 15, 2022

Conversation

choldgraf
Copy link
Member

This makes the copybutton remain on the screen when the .success class is still present. It also staggers the timout of when success is removed to be before the icon changes back, so that we don't get an ugly "icon change back before it hides" effect.

closes #175

@choldgraf choldgraf merged commit e529aa0 into executablebooks:master Nov 15, 2022
@choldgraf choldgraf deleted the fix-hover-time branch November 15, 2022 09:51
@choldgraf
Copy link
Member Author

Gonna self-merge since this fixes a little UX bug and isn't too complex

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.

Copybutton disappears too quickly if you click copy then move the cursor off the code cell
1 participant