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

Guard DEPRECATED transition_id overwriting transition_url #100

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

rawktron
Copy link
Contributor

@rawktron rawktron commented Oct 4, 2023

In v4.50, transition_id is set to nil because it is deprecated. This results in screens that are loaded via collection_factory to have their transition_url field overwritten to be nil which means that the on_transition function skips the transition. This change simply guards against the situation where it overwrites the transition_url.

Fixes #99

Copy link
Owner

@britzl britzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! But don't we need the same thing for the focus_url on the line below?

@rawktron
Copy link
Contributor Author

Good catch! But don't we need the same thing for the focus_url on the line below?

Good question! I will find some time to fire it up in the debugger to see if the same thing happens to focus_url.

@britzl britzl merged commit 43e847d into britzl:master Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transitions not triggering
2 participants