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

Calling SetTitle twice on NavBar removes description #947

Closed
howudodat opened this issue Jul 25, 2024 · 0 comments
Closed

Calling SetTitle twice on NavBar removes description #947

howudodat opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working version 2.x.x Version 2.x.x issues
Milestone

Comments

@howudodat
Copy link

Describe the bug
Calling SetTitle twice on NavBar removes description

To Reproduce

layout.getNavBar().setTitle("Test App");
layout.getNavBar().setDescription("Test Desc");
layout.getNavBar().setTitle("Test App2");
layout.getNavBar().setDescription("Test Desc2");

Expected behavior
I should be able to change the title and not lose the description element

Screenshots
In the screenshots, note that the description element is removed from the DOM after calling setTitle the 2nd time
Screenshot from 2024-07-24 19-58-13
Screenshot from 2024-07-24 19-58-01

@vegegoku vegegoku self-assigned this Jul 26, 2024
@vegegoku vegegoku added bug Something isn't working version 2.x.x Version 2.x.x issues labels Jul 26, 2024
@vegegoku vegegoku added this to the 2.0.2 milestone Jul 26, 2024
@vegegoku vegegoku changed the title V2 Calling SetTitle twice on NavBar removes description Calling SetTitle twice on NavBar removes description Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version 2.x.x Version 2.x.x issues
Projects
Status: Done
Development

No branches or pull requests

2 participants