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.

Search component is missing a CTA

See original GitHub issue

Detailed description

The Search component does not have a button to perform the search. I understand it can work by pressing the Enter key after typing the query but this is not accessible. So far we have been adding a button next to the search field to solve this case but it would be great if we can just make the icon in the Search component clickable so that the designs are looking clean as well.

We are currently using Carbon V9 on a released product for IBM Talent Management Solutions and are planning to re-design the product and move to V10 soon.

Steps to reproduce the issue

  1. Type content in the input field of the Search component
  2. Confirm search by clicking somewhere

Additional information

  • Some use cases might open a suggested drop-down list while typing which would mean any of those results could be clickable but it still doesn’t allow the user to search for the typed query.
  • If we are meant to add an additional Button component to allow for the described use case it would be great if an example can be added to the documentation

Thanks for reading!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jeanservaascommented, Aug 7, 2019

@asudoh yes we do currently have the magnifier on the left in v10. The above design was an alternate version of search for a situation in which you click on the icon button to trigger the search. It doesn’t seem intuitive in this situation to keep the icon button on the left…

But I’m curious to see what @shixiedesign thinks. She’s out today but will be back online tomororow.

1reaction
jeanservaascommented, Jul 31, 2019

@kosruben – here is the final spec – there were some old out of date things in that previous one. I also updated this file with the color tokens.

alternate_search_spec

Sketch file:

Alternate_Search_spec.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

Button calls-to-action (CTAs) | Frequently Asked Questions
Find answers and general information quickly about button calls-to-action (CTAs) in HubSpot. How do I link my button CTA to a PDF?
Read more >
Add call-to-action overlays to YouTube ads - Google Support
A call-to-action (CTA) overlay is an interactive element that appears over an ad and can help drive clicks to your website. An overlay...
Read more >
Call-to-Action (CTA) - Author Tools | NSF
A CTA (call-to-action) can be an image or line of text and link that prompts your website ... For the CTA component, you...
Read more >
reactjs - Can't find missing key in 'Each child in a list should ...
Key Error is caused by feature rendering in Card component. This is cause the keys are not present among sibling elements of the...
Read more >
Page component: Item tiles and CTA tiles - Uberflip
The data-tags attribute is not present by default. To enable it, turn on the setting Include Item tags for Custom Code in the...
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