HaxeFoundation / try.haxe.org

run Haxe code snippets in your browser
https://try.haxe.org
MIT License
18 stars 10 forks source link

Mobile: broken menu button #2

Closed RblSb closed 3 years ago

RblSb commented 3 years ago

Can be reproduced in responsive mode. Can be compared with https://getbootstrap.com/docs/3.4/examples/navbar/ Can be related to bootstrap update...

AlexHaxe commented 3 years ago

yeah, taking bootstrap.js from local install and bootstrap.css from haxe.org site breaks mobile navigation. quick fix would be to use haxe.org versions for both js and css.

using local bootstrap.css breaks all kinds of styles and requires some more work

AlexHaxe commented 3 years ago

quick fix would be to use haxe.org versions for both js and css.

which breaks Examples menu... :(

RblSb commented 3 years ago

You can rename nav-collapse in index.html to other class to make it work, real pain is to return transition and good view back

AlexHaxe commented 3 years ago

I guess we need to look into migrating bootstrap 2 to 3 and fix navigation and layout. but from a short look that requires a few hours of tweaking, testing and refactoring to make it look like the current version. not sure when I'll find the time to look into it.

if you have a small fix that makes mobile work with current bootstrap version check it in, I'll upload it tomorrow.