tbleckert / react-select-search

⚡️ Lightweight select component for React
https://react-select-search.com
MIT License
674 stars 149 forks source link

Search bar shouldn't be visible in Modal #218

Closed AlexBasile123 closed 2 years ago

AlexBasile123 commented 2 years ago

Describe the bug When invoking a modal popup, the search bar shows up in the modal. I haven't changed select-search.css much, with exception of colors. There must be some opacity property that could be set on the search bar. Thanks in advance!

To Reproduce Steps to reproduce the behavior:

  1. Invoke modal that covers search bar
  2. You should see the search bar visible

Expected behavior Modal should NOT show search bar from the parent page

Screenshots I think it's clear enough to visualize but if you need I can dumb down the modal and parent to show that the search bar is visible in the modal

Desktop (please complete the following information): Chrome Version 96.0.4664.18

Additional context N/A

AlexBasile123 commented 2 years ago

Nevermind. Just found it by setting opacity to 0 in .select-search__input