-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Bug]: verbatim_popup
has duplicated buttons
#233
Comments
Hey @donyunardi @lcd2yyz tagging you in here. Just curious if duplicated buttons in |
That's actually a feature :) We started with buttons on the bottom but we got a feedback that users need to scroll a lot in order to see them so they requested to put them at the top. That's the story but I think I understand your point and this might be confusing a little. Happy to enhance it! |
I was afraid it's a feature :) |
I was not involved in the decision for this feature, but even before reading the back story from @pawelru , my thought was exactly the same. It may not be as obvious from your example, but applied on actual studies with some complex analysis modules, code can get very long. As a user, I wouldn't want to scroll all the way to the bottom (or back to the top) in order to copy/close the codes. But some prelim thoughts for feature enhancement are
|
@donyunardi what are your thoughts, do you think we can examine this during the next iteration? |
Sure, let's enhance this. I like the second point that @lcd2yyz pointed out. As for dismissal, another alternative is to add an "X" icon to the top-right of the window. Before we proceed with this, @lcd2yyz, is it worth checking with some of our super users to see if this is worth the effort? |
It's a simple CSS modification. |
Show R Code and Session Info link also have those duplicated buttons, but I think the root cause is that they use
verbatim_popup
What happened?
When running the example from
?verbatim_popup
I run at the issue of duplicated set of buttons:Copy to Clipboard
andDismiss
.Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: