Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't differentiate between embedded and inline chats #22

Open
andreemic opened this issue Apr 21, 2023 · 1 comment
Open

Doesn't differentiate between embedded and inline chats #22

andreemic opened this issue Apr 21, 2023 · 1 comment

Comments

@andreemic
Copy link

All my widgets are rendered as "inline", even the ones that are embedded in Tawk Dashboard and if rendered via js script.

@jaoaustero
Copy link
Contributor

jaoaustero commented Sep 20, 2024

To allow the embed you need to declare embedId and target element.

Embed will render in the element you specificized but it will not have the button to open and close it
by default state it will show the whole widget.

For example

return(
    <div id='mydiv'></div>
    
    <TawkMessengerReact
        :embedId='myDiv'
        .../>
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants