YiiBooster icon indicating copy to clipboard operation
YiiBooster copied to clipboard

TbNavbar with 'collapse'=>false disappears on mobile

Open vercotux opened this issue 10 years ago • 3 comments

TbNavbar is always (regardless of $collapse property) rendered with "collapse navbar-collapse" classes, which causes its content to disappear on small resolutions when $collapse is set to false.

See: https://github.com/clevertech/YiiBooster/blob/master/src/widgets/TbNavbar.php#L161

vercotux avatar Sep 21 '14 17:09 vercotux

it should be always there .... if not it will look like this http://screencast.com/t/P3CBdyNtt do you wanna this ?

amrbedair avatar Sep 26 '14 17:09 amrbedair

Well, @amrbedair I think it's the intended behavior of the navbar. When I am using small screen I better have this table-of-contents-like menu than nothing at all.

hijarian avatar Sep 28 '14 05:09 hijarian

@hijarian I think it was planned to be always collapsible ... I can not see any sample of the table behavior

amrbedair avatar Sep 28 '14 08:09 amrbedair