# \[Solved\] A problem with the Alert component

**URL:** https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886
**Category:** Questions about Thunkable X
**Tags:** solved
**Created:** [November 18, 2019, 1:08pm UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886 "2019-11-18T13:08:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![nickolas](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@nickolas](https://community.thunkable.com/u/nickolas)
#### Post date: [November 18, 2019, 1:08pm UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/1 "2019-11-18T13:08:21Z")

</div>

Hi everyone. I’m having some trouble using the Alert Component, my problem? Well when it displays the “show” function it opens but, when I press the confirm button it doesn’t navigate to the other screen.

![error](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/7/e7ca8fba7e576e2d890452a24d1be7a40f94d766.png)

Note: It’s in Portuguese.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [November 18, 2019, 3:06pm UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/2 "2019-11-18T15:06:19Z")

</div>

Hi @nickolas

I recreated this in one of my own projects:

 ![23](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/8/186bc88efc8c45369e8225bf5129bfc7fc7e7b0d.png)

When Live Testing on my Android test device it opened Screen1, as expected.

Is there something different that you are doing in your app? i.e are there any other defaults that you might have changed?

---

<div class="post-metadata">

### Author: ![CBVG](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cbvg/32/32401_2.png) [@CBVG](https://community.thunkable.com/u/CBVG)
#### Post date: [November 18, 2019, 4:50pm UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/3 "2019-11-18T16:50:03Z")

</div>

Is your screen really named " . . . MENU" with all the extra blank spaces?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [November 19, 2019, 6:49am UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/4 "2019-11-19T06:49:51Z")

</div>

On my device, spaces in the name of the screen do not cause problems, but I would not recommend using spaces in the names.

---

<div class="post-metadata">

### Author: ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)
#### Post date: [November 19, 2019, 7:05am UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/5 "2019-11-19T07:05:26Z")

</div>

Can I see your screen name  
as the block is showing {space} MENU.

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [November 19, 2019, 9:46am UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/6 "2019-11-19T09:46:01Z")

</div>

Hi, @nickolas! 👋

If you could provide a shareable link to your project, it would help us all check your project for the screen name & other things.

Learn how to generate a link [here.](https://docs.thunkable.com/share-1)

Thanks! 😊

---

<div class="post-metadata">

### Author: ![nickolas](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@nickolas](https://community.thunkable.com/u/nickolas)
#### Post date: [November 21, 2019, 1:07pm UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/7 "2019-11-21T13:07:09Z")

</div>

Sorry guys, I’ve found what the problem was, it has nothing to do with the button or alert component. As I was searching at former topics I’ve seen one that said:

“Are you using Stack Navigator?  
If yes, then according to your blocks, on **profile** screen has code to take back on home screen. Going back by clicking home button does not work in Stack Navigator.  
You can only go back through your device’s navigating back button.”

I am using the Stack Navigator and that was why the button wasn’t working.

Thanks for the answers and the help.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:42am UTC](https://community.thunkable.com/t/solved-a-problem-with-the-alert-component/325886/8 "2024-11-08T11:42:58Z")

</div>


