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.

UiKitten doesn't works with jacklam718/react-native-modals

See original GitHub issue

💬 Question

When I use ui kitten component inside the modal content of jacklam718/react-native-modals.

I get this error :

Text: unsupported configuration. Using UI Kitten components is only possible with configuring ApplicationProvider. � Documentation: https://akveo.github.io/react-native-ui-kitten/docs/guides/getting-started#manual-installation

Ui kitten works fine on my project, I have already set ApplicationProvider on startup. I have to set <ApplicationProvider> inside the modalContent to avoid this error, but its not great because the modal become very slow.

import Modal, {
  ModalTitle,
  ModalContent,
} from 'react-native-modals';

import {
  Text,
  ThemedComponentProps,
  withStyles,Select
} from '@ui-kitten/components';

<Modal.BottomModal
          visible={isModalVisible}
          style={themedStyle}
          swipeDirection={['up', 'down']} // can be string or an array
          onTouchOutside={() => setModalVisible(false)}
          height={0.95}
          width={1}
          onSwipeOut={() => setModalVisible(false)}
          modalTitle={
            <ModalTitle
              title="Bottom Modal"
              style={{height: 20,padding: 0}}
              // textStyle={textStyle.subtitle}
              align="left"
              hasTitleBar
            />
          }>
        <ModalContent>
          <Text>
            Bottom Modal with Title
          </Text>
        </ModalContent>
      </Modal.BottomModal>

I’m missing something ?

UI Kitten and Eva version

Package Version
@eva-design/eva ^4.3.2
@ui-kitten/components ^4.3.2
react-native-modals ^0.19.9

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
SiOuzcommented, Jan 24, 2020

already did here

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI Kitten - Modal - component overview - GitHub Pages
A wrapper that presents content above an enclosing view. Modals accept content views as child elements and are displayed in the screen center....
Read more >
React-Native UI-Kitten Modal triggers "update during an ...
This value is updated when a BLE device is found, which is done by Promises. Is the async nature of the promises triggering...
Read more >
Awesome React Native components, news, tools, and ...
A react native modals library. Swipeable. Highly customizable. Support multi modals & Support custom animation. For IOS & Android.
Read more >
Dive into React Native UI Kitten - June 2021 - YouTube
RNLmeetupDive into React Native UI KittenArtur YorshWhat it actually is and how it can boost the development process?
Read more >
UI Kitten 5: what's new and our plans | Akveo Blog
We've made a quite serious bug hunt, trying to fix bug and work on user improvement request. As a result 20+ issues were...
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