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

Wrong fragment is matched if data-m-page attribute values begin with the same text #201

Open
TomJLynch opened this issue Sep 13, 2019 · 0 comments

Comments

@TomJLynch
Copy link
Member

I set data-m-autoload to false for a section that required custom code. The load handler would not run for this section. It turns out another load handler was matching the section, which ran and did nothing because it was for the wrong page. Example: I have two sections. Their data-m-page attributes are "ActivityList" and "SomethingActivityList." I was trying to load SomethingActivityList, but I found in the Check method in routing.ts that ActivityList was getting matched instead. After changing SomethingActivityList to SomethingActivitiesList, it correctly matched the section I wanted to load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants