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.

Select appears under Modal

See original GitHub issue

Issue type

I’m submitting a … (check one with “x”)

  • [X ] bug report
  • feature request

Issue description

Current behavior: I added a basic Select inside a modal from react-native-modal and when selecting the drop down to show the items nothing appears (symbol turns). If I then close my dialog I can see the select options on the page.

Expected behavior: The select should render on top of the modal. Other input fields do from ui-kitten

Steps to reproduce: Add the following select inside a <Modal></Modal>

          <Select
            data={[{text: 'male'}, {text: 'female'}, {text: 'other'}]}
            selectedOption={gender}
            onSelect={val => console.log(val)}
            tyle={styles.select}
          />

Related code: Screen Shot 2019-10-08 at 4 11 20 PM Screen Shot 2019-10-08 at 4 11 29 PM

insert short code snippets here

Other information:

OS, device, package version

UI Kitten 4.2.0
RN 0.61.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

7reactions
msvargascommented, Feb 24, 2021

I fixed wrapping ModalPanel with React Native Modal

example:

.... others imports
import { Text, ModalPanel } from '@ui-kitten/components';

const MyModal = () => <Modal><ModalPanel><Text>Select HERE </Text><ModalPanel> </Modal>

3reactions
artyorshcommented, Oct 9, 2019

Hi @andrewanderson58 👋 Thanks for report. Can you please share the related code when using Modal? Btw, UI Kitten uses its own Modal implementation, which Select also relies on. Please try using our implementation of Modal and see if it is reproduced.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Solve Option Select appeared behind modal using ...
I was making form on modal using bootstrap, and why when i used select tag and it's appeared in behind model? like this,...
Read more >
mdbootstrap Select Option list appear at back on modal form
Problem. i showing modal form with select component. i get option list from service.When 1st click to show the modal form, select component...
Read more >
Bootstrap Modal Dialog showing under Modal Background
The easiest solution is to move the modal dialog outside of any container and just declare it under the <body> element, or -...
Read more >
Angular Material Select wont open on modal - Experts Exchange
I have a modal form with a Angular Material dropdown select control that doesnt show the options if i place it on a...
Read more >
Common problems
Select2 does not function properly when I use it inside a Bootstrap modal. ... This issue occurs because Bootstrap modals tend to steal...
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