[v4, core] alert message displays a "square" at the end of the message
See original GitHub issueBug Report
Ionic Info
Ionic Core v4.0.0-beta.16
Describe the Bug
I use an Alert
from Ionic Core in a vanilla project and when the alert is displayed, it displays a “square” at the end of the message (see screenshot)
Steps to Reproduce Steps to reproduce the behavior:
- https://deckdeckgo.com
- click the “question mark” button in the bottom right fab list of actions
or
- git clone http://github.com/fluster/deckdeckgo-website
- cd deckdeckgo-website
- npm install
- npm start
- open localhost:3000
- click the “question mark” button in the bottom right fab list of actions
Related Code
presentAlert = async () => {
const alertController = document.querySelector('ion-alert-controller');
if (!alertController) {
return;
}
await alertController.componentOnReady();
const alert = await alertController.create({
header: 'Hey!',
subHeader: 'Nice to meet you',
message: 'To navigate, just swipe the slides, use the left and right arrows keys of your keyboard or use the actions available at the bottom right.️',
buttons: ['OK']
});
return await alert.present();
};
Expected Behavior No square displayed
Screenshot
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
how to display alert message in controller - Stack Overflow
I used this approach in my last project in order to make the information returned from the server unobtrusive. Checking whether ViewData["Success"] or...
Read more >JavaScript Message Boxes: alert(), confirm(), prompt()
alert () The alert() function displays a message to the user to display some information to users. This alert box will have the...
Read more >Notification Center | Square Support Center - US
We've built a new Notification Center that centralizes all your notifications across the Square Point Of Sale app and the Square Appointments app....
Read more >Functions - The Modern JavaScript Tutorial
The call showMessage() executes the code of the function. Here we will see the message two times. This example clearly demonstrates one of...
Read more >On-Screen Alerts—Site Manager
You create On-Screen Alert messages using the Tools tab on the District Site Workspace in Site ... 4. Click Create Alert. The New...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@peterpeterparker It’s okay! I didn’t see the square when I opened your demo but I noticed it in the HTML so I knew it was something weird going on. It happens. 🙂
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.