Sidebar layouts

Forum rules
Please note that response time for technical support is within 3-5 business days.
User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

29 Jan 2022, 10:31

I am trying ouy PrimeVue and using PrimeBlocks. But I have 2 problems.

- Firstly I was expecting left sidebar and the header to be locked on the page but when the content is long, the sidebar and the header also scrolls when scrolling.
- And a little thing, the red dot in the upper right corner for the notification icon next to the avatar icon, is huge compared to how it looks in the PrimeBlocks application, why?
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

07 Feb 2022, 11:09

As always, I am impressed by the support from PrimeTek for products they sell...............
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

09 Feb 2022, 13:37

- Sidebar scrolling with long content might be related to height of the sidebar. Have you used any PrimeFlex height class for styling? According to your usage of your app, you could use sticky header.

- Which red dot have you specified? Could you share a link of PrimeBlocks page link?

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

19 Feb 2022, 14:28

You are kind of missing my point.. I expect such a layout template to handle this or at least give me a way to hande this, like the other themes you have made.
If I just copy the layout block and input a lot of text, the header and sidebare begins to scroll, as I think it should not...
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

19 Feb 2022, 14:42

I am thinking about the red dot to notify above the bell here, this is huge when I just copy the block in to my project.

Image
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

21 Feb 2022, 09:44

- To replicate your question, I have tried to multiply the menu items first example of this page https://www.primefaces.org/primeblocks- ... ebarlayout. While scrolling the page, the menu does not scroll and also I tried the opposite. I think there are some gaps on your question.

- Could you please check badge code? It should be 'v-badge.danger'.


Regards,

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

21 Feb 2022, 10:07

It's not the menu you have to add content to, it's the content....
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

21 Feb 2022, 10:34

This is the badge problem:

Image
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

21 Feb 2022, 10:35

And this happends when I fill the content and scrolls...:

Image
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

23 Feb 2022, 10:50

It's really hard the demonstrate this issue. Maybe this workaround could work. There is an element which has an '#app-sidebar-1' id. Could you clear the 'h-screen' class of this element?


Could you also have a screenshot of inspector of the badge?

Post Reply

Return to “PrimeBlocks for PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests