Improvements to build dropdown
See original GitHub issueA few ideas for usability that we can discuss.
- Let’s make the button extend to the right edge. e.g., if we set the
btn-group
div width to 100%, the left button to 70% and the right arrow to 30%, then we get:
-
~Fix some bugginess with the popup window. On chrome in windows 10, as soon as I click anywhere inside the popup window (including trying to highlight the text) then the window disappears.~ see #158
-
~Add some “auto-copy to clipboard” functionality, similar to how github lets you auto-copy the github URL to the clipboard. E.g., it looks like github uses a flash app called zero clipboard to do this, so maybe it won’t be as trivial as it seems.~ seems more effort than needed
-
Add an option for just getting the URL and not the badge. I know it’s easy for people to copy/paste the URL out of the badges themselves, but I feel like it’s a fairly common usecase for people to just want the URL.
Thoughts?
Issue Analytics
- State:
- Created 6 years ago
- Comments:30 (11 by maintainers)
Top Results From Across the Web
5 Design Tips for Dropdown Menus on Websites and Apps
1. Consider a Click Trigger Instead of Hover · 2. Use Dropdown Indicators · 3. Don't Be Afraid to Add More Space ·...
Read more >Drop-Down Usability: When You Should (and Shouldn't) Use ...
In General, Avoid Drop-Downs When There Are More Than 10 or Fewer Than 5 Options · What to Use Instead: Text Fields and...
Read more >Create a drop-down list - Microsoft Support
You can help people work more efficiently in worksheets by using drop-down lists in cells. Drop-downs allow people to pick an item from...
Read more >The Ultimate Guide to Dropdown Lists in Excel
This post will show you everything there is to know about dropdown lists in Microsoft Excel. If you are creating an Excel spreadsheet...
Read more >How to Create a Dropdown Menu–and Why You Need One
Without a dropdown menu, your website would look cluttered and overwhelming, deterring potential customers. Learn how to make a dropdown menu for your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the feedback, everyone!
@willingc that would be awesome to add a copy to clipboard option… I just added an icon to the top of the “Copy and share this URL” section and next to each of the badge options in the dropdown. I moved the icons to the right, to make things consistent.
@ellisonbg here is what I’m thinking for the collapsed state:
@choldgraf so far, I’ve added icons and created new divs for the new copy and paste menus, but I’m not sure how to transfer over some of the functions from the “Launch” dropdown down into the new sections. As of now, I’m going to leave a blank space for the copy and paste areas and left the same launch button above. Here’s what I have so far (not finished!):
I’ll try to finish this styling by the end of the week, and then we can start implementing the rest of the code into it!