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

Toast ui issue on notch screen #1419

Closed
1 of 6 tasks
vilenleung opened this issue Nov 29, 2023 · 2 comments
Closed
1 of 6 tasks

Toast ui issue on notch screen #1419

vilenleung opened this issue Nov 29, 2023 · 2 comments
Assignees
Labels
bug Something isn't working gluestack-ui-unstyle Issue is due to gluestack-ui-unstyle

Comments

@vilenleung
Copy link

vilenleung commented Nov 29, 2023

Description

ui issue

CodeSandbox/Snack link

No response

Steps to reproduce

Screenshot 2023-11-29 at 1 54 36 PM Screenshot 2023-11-29 at 1 54 53 PM Screenshot 2023-11-29 at 1 55 07 PM Screenshot 2023-11-29 at 1 55 28 PM

"@gluestack-style/react": "^1.0.17",
"@gluestack-ui/config": "^1.0.4",
"@gluestack-ui/themed": "^1.0.18",
"react": "18.2.0",
"react-native": "0.72.5",

import React, { useEffect } from 'react'
import { GluestackUIProvider, Toast, ToastTitle, useToast } from "@gluestack-ui/themed"
import { config as GluestackConfig } from '@gluestack-ui/config'

const App = () => {
  const toast = useToast()

  useEffect(() => {
    toast.show({
      placement: 'top',
      duration: 4000,
      avoidKeyboard: true,
      render: ({ id }) => {
        return (
          <Toast nativeId={id} action='info' variant='accent'>
            <ToastTitle>Testing</ToastTitle>
          </Toast>
        )
      },
    })
  }, [])
  
  return (
    <> </>
  )
}

export default () => {
  return (
    <GluestackUIProvider config={GluestackConfig}>
      <App/>
    </GluestackUIProvider>
  )
}

gluestack-ui Version

1.0.18

Platform

  • Expo
  • React Native CLI
  • Next
  • Web
  • Android
  • iOS

Other Platform

No response

Additional Information

No response

@vilenleung vilenleung added the bug Something isn't working label Nov 29, 2023
@Viraj-10
Copy link
Collaborator

Hey @vilenleung, Thanks for reporting. We will work on this.

@makkarMeenu makkarMeenu added the gluestack-ui-unstyle Issue is due to gluestack-ui-unstyle label Nov 29, 2023
@Gluant101 Gluant101 moved this from Backlog to Todo in gluestack support Nov 30, 2023
@Viraj-10
Copy link
Collaborator

Viraj-10 commented Dec 1, 2023

Hey @vilenleung, We have fixed this issue in v1.0.19 version of @gluestack-ui/themed.

@Viraj-10 Viraj-10 closed this as completed Dec 1, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in gluestack support Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gluestack-ui-unstyle Issue is due to gluestack-ui-unstyle
Projects
No open projects
Status: Done
Development

No branches or pull requests

4 participants