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.

View title doesn't update after modal dismiss

See original GitHub issue

Short description of the problem:

When you are on a view, and you open a modal, the page title (only visible on web) updates to the modal title (ion-title)

When you dismiss the modal, the title (from the modal) remains, even though the modal is no longer in view

What behavior are you expecting?

I expect that when you dismiss the modal, that the page title to revert back to using the title from the now visible view, not the previously shown modal

Which Ionic Version? 1.x or 2.x 2

Run ionic info from terminal/cmd prompt: (paste output below)

Cordova CLI: 5.4.1 Ionic Framework Version: 2.0.0-beta.10 Ionic CLI Version: 2.0.0-beta.31 Ionic App Lib Version: 2.0.0-beta.17 ios-deploy version: 1.8.5 ios-sim version: 5.0.4 OS: Mac OS X El Capitan Node Version: v5.3.0 Xcode version: Xcode 7.3.1 Build version 7D1014

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
eongoocommented, Jun 15, 2017

this issue seems back again Ionic Framework: 3.2.1 Ionic App Scripts: 1.3.7 Angular Core: 4.1.0 Angular Compiler CLI: 4.1.0 Node: 6.9.5 OS Platform: macOS Sierra Navigator Platform: MacIntel User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1

0reactions
ionitron-bot[bot]commented, Sep 2, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

View title doesn't update after modal dismiss #7427 - GitHub
Short description of the problem: When you are on a view, and you open a modal, the page title (only visible on web)...
Read more >
Modal using Bootstrap doesn't update content - Stack Overflow
So in the above code, when I click the 'View' button for the second list item, the modal still shows the name and...
Read more >
Modal - Bootstrap
Use Bootstrap's JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.
Read more >
How to Make a Modal Popup Refresh Items on the Page
Creating a React Bootstrap Modal. To get started, install react-bootstrap and bootstrap by running the following command:.
Read more >
Modal - Angular powered Bootstrap
dismiss. dismiss(reason: any) => void. Dismisses the modal with an optional ... open(content: any, options: NgbModalOptions) => NgbModalRef ... since 3.1.0.
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