« 「回転寿司のひみつ」当たりました! | Main | DVD 『鍵泥棒のメソッド』 »

04 September 2013

The reason is why Bootstrap v3 got rid of sub menus on dropdowns

Bootstrap v3 になってドロップダウンメニュー内のサブメニューがなくなったんですね。

Bootstrap の移行方法を読みつつ、2 から 3 に移行していて、「ああ Grid は .span* から .col-md-* になったのか」とか「fluid grid system がないから .row-fluid は .row にするのか」とか思いながら淡々と文字列を replace しました。そしてタイトルにもあるように Dropdown submenu が削除されているわけです。

理由は次の通りでした。

mdo commented
@quasipickle We haven't seen anyone using submenus in meaningful ways and the code necessary to make them work well is just too much overhead. Submenus just don't have much of a place on the web right now, especially the mobile web. They will be removed with 3.0.
WIP: Bootstrap 3 by mdo · Pull Request #6342 · twbs/bootstrap

『(意訳)サブメニューを有意義に使ってるのを見たことがないし実装も大変だ。今日のウェブ、特にモバイル環境において、サブメニューはマッチしない。』ということだそうです。なるほどねえ。たしかに1ページ内で多段のメニューを出すのはわかりづらいし、ましてスマートフォンなどの狭いディスプレイでは使いづらいですね。iOS では Table View など使いますから、ネストしたメニューなんてどんどんわかりにくくなりますね。うんうん。

とはいえどうしようかなあ。Bootstrap v2 に残り続けるとか、Submenus を独自で実装するとかなんかあれだし、これまで使ってたサブメニューをどうしようかなあ。。階層を上げたりメニュー追加したりってことになるだろうな。

Comments

The retrieval of this information is a very at emptive task as it just have minimum process of doing such save and retrieve process. You require to consider out as numerous of the cameras on your now really small listing (thank you to Theodore) as feasible. Pack your stuff now and embark on a journey that you will never forget.

Cоach Shopρing Charm Silver Bracelets Witth grеat fashion, it will bee full of ѕports, having a natural rubber in bold and environmentally mɑtirals.That սsed to bee true with computers, todаy nothing could possibly be fսrtheг from thhe truth. Coach Op Art Largе Browո Wallets

http://www.sarahgillham.com/cheap/?page=Coach+Snow+Boots+For+Women ɦasn't ever been their employment, this girl sugցested.get off the ouch ach morning i competent to assist most people for hߋurs. http://www.sarahgillham.com/cheap/?page=Coach+Coupon+Printable

Terrific blog and wondeгful design.

I appreciate the thoughtful consideration behind the decision to remove submenus from dropdowns in Bootstrap v3. It's evident that the Bootstrap team prioritizes user experience and recognizes the evolving landscape of web design, particularly in mobile environments. By streamlining functionality and reducing unnecessary overhead, Bootstrap continues to provide developers with tools that align with modern design principles and improve usability across devices. Thank you for your dedication to enhancing the developer experience and facilitating better design practices.

Post a comment

Access Ranking

Powered by Six Apart
Sponsored links