1.12.0:
cross-browser:
I'm posting this as a bug because this behaviour renders this whole feature completely useless for any non-trivial example (using a router of any sorts for that matter, which probably includes TODO apps today).
Please.
Change hash without overwriting the whole url irreversibly.
Overwrites whole url irreversibly.
I strongly discourage the the condescending language in this report, we encourage people to be respectful in this community.
Since it seems like you have a brilliant idea with regard to this, PR's are always welcome! I think you'd want to make the change here
https://github.com/mapbox/mapbox-gl-js/blob/53b8a4059a1260b3a48e443a0886cfed3b82c002/src/ui/hash.js#L137
@arindam1993 damn you for taking the highroad! Alright, apologies in that case, and I'll create a PR for that matter.
Most helpful comment
I strongly discourage the the condescending language in this report, we encourage people to be respectful in this community.
Since it seems like you have a brilliant idea with regard to this, PR's are always welcome! I think you'd want to make the change here
https://github.com/mapbox/mapbox-gl-js/blob/53b8a4059a1260b3a48e443a0886cfed3b82c002/src/ui/hash.js#L137