Closed trurohit closed 3 years ago
maybe you can go to
node_modules\@ui-kitten\components\ui\select\select.component.js
and set the "popover" stylesheet to
popover: {
overflow: 'hidden',
top: -40
},
I would suggest looking for the correct StatusBar implementation. Please see #743
I am seeing this happen in iOS 14.2 except the margin is around 24 on my iPad and about 40 on iPhone 11.
Follow up: So for the
{ top: 0 - safeAreaInsets.top }
The safeAreaInsets
is from the useSafeAreaInsets
. But the issue still happens in the and there's no place to alter the style for that component. As this is iOS only, I have to use conditional code based on Platform.
Hey I ran into this issue on 5.0.0. Solved it by adjusting the mapping for the popover right before using the mapping.
As in, added:
if (Platform.OS === "ios") { mapping.components.Popover.appearances.default.mapping.top = 0 - insets.top; }
directly before calling <ApplicationProvider.
Also added "top": { "type": "number" }
to mapping.components.Popover.meta.parameters. I don't use the actual Popover component in my app so it's possible it messes that component up. Hopefully this helps someone else.
š Bug Report
In iOS devices, we're seeing a margin-bottom of 40 between the component and its child elements. This is manageable in OverflowMenu as we can give a margin-bottom of -40 but when using a Select component, we're unable to manage this and we're seeing a space of 40 between the dropdown and options
UI Kitten and Eva version
Environment information