react-native-popup-menu icon indicating copy to clipboard operation
react-native-popup-menu copied to clipboard

Anchor arrow not shown

Open udarts opened this issue 5 years ago • 2 comments

Referring to a previous post: https://github.com/instea/react-native-popup-menu/issues/148

The anchor arrow is still not shown.

Using the following code:

<Menu
    opened={contextMenuOpen}
    onBackdropPress={() => setConextMenuOpen(false)}
    rendererProps={{placement: 'top', anchorStyle: {backgroundColor: '#000000'}}}>
    <MenuTrigger/>
    <MenuOptions>
        <MenuOption onSelect={() => alert(`Delete`)} >
            <Text style={{color: 'red'}}>Delete</Text>
        </MenuOption>
    </MenuOptions>
</Menu>

The anchor is not shown.

Any idea why?

udarts avatar Sep 03 '20 15:09 udarts

same error

cxt19951016 avatar Nov 24 '20 07:11 cxt19951016

Referring to a previous post: #148

The anchor arrow is still not shown.

Using the following code:

<Menu
    opened={contextMenuOpen}
    onBackdropPress={() => setConextMenuOpen(false)}
    rendererProps={{placement: 'top', anchorStyle: {backgroundColor: '#000000'}}}>
    <MenuTrigger/>
    <MenuOptions>
        <MenuOption onSelect={() => alert(`Delete`)} >
            <Text style={{color: 'red'}}>Delete</Text>
        </MenuOption>
    </MenuOptions>
</Menu>

The anchor is not shown.

Any idea why?

Have u use renderer={renderers.Popover} in Menu props ? But you have to import renderers from the react-native-popup-menu.

TheChanDI avatar Dec 30 '20 06:12 TheChanDI