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.

createStandaloneToast - when used all texts gets resized

See original GitHub issue
function CustomToastExample() {
  const toast = createStandaloneToast()
  return (
    <Button
      onClick={() =>
        toast({
          position: "top",
          title: "An error occurred.",
          description: "Unable to create user account.",
          status: "error",
          duration: 3000,
        })
      }
    >
      Show Toast
    </Button>
  )
}

When we use createStandaloneToast for displaying toasts - all the text fields in the screen gets resized one and causes a very bad visual effect. Attached a video of same happening in chakra site. Requesting to check this and fix , as its happening throughout my application. Thank you! Using chakra v1.6.2

https://user-images.githubusercontent.com/39894982/120057548-83c4b700-c061-11eb-8a5c-aa3ec255bca0.mov

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
anubra266commented, Jun 1, 2021

@with-heart we may close this now…I think

I see it has been stated in the docs

image

1reaction
ganeshkrishnasharmacommented, May 29, 2021

Thank you both , Much appreciated 🙏 @anubra266 @with-heart

Read more comments on GitHub >

github_iconTop Results From Across the Web

Toast - Chakra UI
Use createStandaloneToast to create toasts from outside of your React Components. If you're using a custom theme, you must pass it in the...
Read more >
Newest 'chakra-ui' Questions - Page 8 - Stack Overflow
I want all the items to be aligned at the top. For some reason they are aligning in the center... I'm using this...
Read more >
@chakra-ui/react Modal JavaScript Examples
This page shows JavaScript code examples of @chakra-ui/react Modal.
Read more >
The chakra-ui-steps from jeanverster - GithubHelp
In order to get started you will need to extend the default Chakra theme ... is an issue with chakra-ui-steps because all the...
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