Issue with NavBar in Pharo 7-Seaside 3.3-Bootstrap.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with NavBar in Pharo 7-Seaside 3.3-Bootstrap.

OswallVernyAC

Regards,
I am working with Bootstrap4 with Pharo7 and Seaside 3.3.
I installed it on 2 laptops (ubuntu) and a raspberry (raspbian).
I have a problem with the example of NavBar that comes with Bootstrap4.
With the wide screen, the NavBar is displayed correctly with your options.
With the narrow (reduced) screen the navigationBarToggler changes the view but when pressing the button it does not show the options menu (Chromium Browser).
The same happens in all computers.

Thank you
Oswall



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Issue with NavBar in Pharo 7-Seaside 3.3-Bootstrap.

Paul DeBruicker
The way to debug this is to see if the HTML code Seaside is making in the
example matches the HTML code in the bootstrap docs.

It looks like they're different.  

The Seaside example navbar toggle button specifies an attrbute 'data-target'
and gives it the value 'navbarSupportedContent'  The Bootstrap docs use
'#navbarSupportedContent'


The Seaside example dropdown menu div (the div with the class="collapse
navbar-collapse" ) also doesn't have the id='navbarSupportedContent' like
the bootstrap docs does.  

I'd start by fixing those things and seeing how it goes and if it doesn't
work keep looking for discrepancies.  

Can you change the Seaside example code to make the HTML match the HTML code
in the bootstrap docs?



If so you could submit a pull request to the github repo  so this bug gets
fixed for future users.  




OswallVernyAC wrote

> Regards,
> I am working with Bootstrap4 with Pharo7 and Seaside 3.3.
> I installed it on 2 laptops (ubuntu) and a raspberry (raspbian).
> I have a problem with the example of NavBar that comes with Bootstrap4.
> With the wide screen, the NavBar is displayed correctly with your options.
> With the narrow (reduced) screen the navigationBarToggler changes the view
> but when pressing the button it does not show the options menu (Chromium
> Browser).
> The same happens in all computers.
>
> Thank you
> Oswall
>
> _______________________________________________
> seaside mailing list

> seaside@.squeakfoundation

> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Issue with NavBar in Pharo 7-Seaside 3.3-Bootstrap.

Paul DeBruicker
Oh and the bootstrap docs for the navbar are here:

https://getbootstrap.com/docs/4.3/components/navbar/



--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside