Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Tooltip #192

Open
Jol0o opened this issue Nov 20, 2023 · 0 comments
Open

Duplicate Tooltip #192

Jol0o opened this issue Nov 20, 2023 · 0 comments

Comments

@Jol0o
Copy link

Jol0o commented Nov 20, 2023

Screenshot 2023-11-21 022815

Duplicate tooltips

`<UIYStack
style={{
height: '100%',
justifyContent: "center",
alignItems: 'center',
}}
>
<UIXStack
style={{
width: '100%',
padding: 15,
justifyContent: 'space-between',
}}
>

                                                                        <Tooltip
                                                                            isVisible={preOpen}
                                                                            content={<Text>Previous listing</Text>}
                                                                            placement="right"
                                                                            onClose={() => setPrevOpen(false)}
                                                                            backgroundColor='0'
                                                                        >
                                                                            {/* @SK1PPI handle previous*/}
                                                                            <TouchableOpacity
                                                                                style={{
                                                                                    padding: 5,
                                                                                    borderRadius: 20,
                                                                                    backgroundColor: LegacyTheme.COLORS.PRIMARY,
                                                                                }}
                                                                                onPress={
                                                                                    () => setPrevOpen(true)
                                                                                }
                                                                                disabled={agoraEngineConnectionStateIsLive || showIsAuctioning || showIsAutoCycle}
                                                                            >
                                                                                <UIIcon
                                                                                    name="left"
                                                                                    size={15}
                                                                                    color={LegacyTheme.COLORS.WHITE}
                                                                                />
                                                                            </TouchableOpacity>
                                                                        </Tooltip>
                                                                        <Tooltip
                                                                            isVisible={open}
                                                                            content={<Text>Previous listing</Text>}
                                                                            placement="left"
                                                                            onClose={() => setOpen(false)}
                                                                            backgroundColor='0'
                                                                        >
                                                                            {/* @SK1PPI handle next*/}
                                                                            <TouchableOpacity
                                                                                style={{
                                                                                    padding: 5,
                                                                                    borderRadius: 20,
                                                                                    backgroundColor: LegacyTheme.COLORS.PRIMARY,
                                                                                }}
                                                                                onPress={() => setOpen(!open)}
                                                                                disabled={agoraEngineConnectionStateIsLive || showIsAuctioning || showIsAutoCycle}
                                                                            >
                                                                                <UIIcon
                                                                                    name="right"
                                                                                    size={15}
                                                                                    color={LegacyTheme.COLORS.WHITE}
                                                                                />
                                                                            </TouchableOpacity>
                                                                        </Tooltip>

  
                                                                    </UIXStack>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant