question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Presentation of experimental pagination <Select> menu content is inconsistent

See original GitHub issue

Based on the spec for the experimental pagination component, we are assuming that the 'items per page' text should appear only on the trigger button rather than within the options of the listbox.

|     10 ITEMS PER PAGE      v  |
|-------------------------------|
|              10               |
|              20               |
|              30               |
|              40               |
|              50               |
|-------------------------------|

as opposed to the current implementation where text is appended to the selected menu item

image

If this assumption is correct, then a number of technical issues arise, the primary one being that the native <select> element does not support this behavior of showing differing content between the trigger button and the list items contained within it.

There are a number of possible workarounds for this issue:

  • one would be removing the appended text from the selected menu option
  • another would be converting the native <select> element to a custom dropdown

This issue could potentially be a ship stopper for the v10 release as it appears to be a regression in functionality for the component consumer

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
laurenmricecommented, Jan 16, 2019

pagination_specs

Here are also spacing specs for reference 👍

0reactions
carbon-botcommented, Jan 28, 2019

🎉 This issue has been resolved in version 9.68.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

SharePoint Online: Fix Search Results Count Inconsistent Issue
Solution: The SharePoint Search center search results page displays the number of items in the results at the bottom of the page.
Read more >
nth-of-type() - CSS: Cascading Style Sheets - MDN Web Docs
The :nth-of-type() CSS pseudo-class matches elements based on their position among siblings of the same type (tag name).
Read more >
Questions API Release Log - Learnosity Reference
Fixed a bug causing an inconsistent border state in the hotspot Question type when users selected then unselected any hotspot Item.
Read more >
Safari Technology Preview Release Notes - Apple Developer
Ignored <option> element while building accessibility tree when <select> is hidden ... Disabled context menu items for incomplete resources (251987@main).
Read more >
Untitled
Quit item greyed out within the 4th Dimension Menu? ... What can I do if I cannot select a file in 4D on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found