Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2020-10-25 09:07:44

krodetsa
New member
Registered: 2020-10-25
Posts: 3

Widget parent node

Hello there!

Is there any opportunity to set parent node for widget? It seems to insert widget in body, but I have a React SPA, so the widget is outside of my react-root div.
This causes some troubles with z-index and layering.
Is there any chance to put widget in certain node?

Offline

#2 2020-10-25 09:17:30

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,303
Website

Re: Widget parent node

Interesting idea. I’ll add that option next week. As for page embed mode you can do that already.

Offline

#3 2020-10-25 09:27:58

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,303
Website

Re: Widget parent node

Also you can always adjust css from widget themes and override default css rules.

Offline

#4 2020-10-25 09:36:12

krodetsa
New member
Registered: 2020-10-25
Posts: 3

Re: Widget parent node

remdex wrote:

Also you can always adjust css from widget themes and override default css rules.

Yep, but there are different types of modal windows etc. and widget button is just always on top of them because it`s not on my react-root container

Offline

#5 2020-10-26 06:09:08

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,303
Website

Re: Widget parent node

Offline

#6 2020-10-26 07:16:54

krodetsa
New member
Registered: 2020-10-25
Posts: 3

Re: Widget parent node

remdex wrote:

`pnode` argument


WOW that was fast!

Thanks a lot! gonna check it out rn!

Last edited by krodetsa (2020-10-26 07:17:06)

Offline

Board footer