stats4sd / Sampling-Decision-Assistant

GNU General Public License v3.0
0 stars 0 forks source link

select action sheet present loses nav params for stage subsection #114

Closed chrismclarke closed 6 years ago

chrismclarke commented 6 years ago

core platform issue so workaround required (likely fixed with new router). When one of the select questions in section 5 is interacted the url hash loses all nav params and therefore changes section on next interaction.

Possible workaround to keep additional variable in state to be checked on hash change, or maybe avoid action sheets?

chrismclarke commented 6 years ago

popover interface has same problem

chrismclarke commented 6 years ago

workaround implemented with 'lockParams' property on view that can hold fixed params. Linked methods created on customRouter as well as accessor components such as stage page, breadcrumbs, section complete, glossary link and help icon.

Closing for now but may want to revisit solution when possible router upgrade available

chrismclarke commented 6 years ago

might be a few navigation quirks to figure out but not priority (e.g. window history back relation to changing params)