Comments (5)
from talk.
Hello @SadhuSantosh, Thank you for reaching out with this. I would recommend passing the customScrollContainer
option through to Coral when creating the comment stream embed. The customScrollContainer
supports a custom HTML element as a scroll container if Coral is rendered outside of the render window. So, in this case, you'd want to pass through an HTML element that contains Coral within the modal. This solution has resolved similar issues when we've encountered them before. See https://github.com/coralproject/talk/blob/develop/client/src/core/client/embed/Coral.ts#L41
from talk.
@kabeaty Thanks for the inputs, Can you share any code snippet that would help me move forward?
from talk.
To pass through a custom scroll container, get the HTML element that contains Coral within the modal that you want to use and pass it through when you create the stream embed. So, something like this wherever you are already creating the stream embed:
Coral.createStreamEmbed({
// other arguments already passed through here
customScrollContainer: document.getElementById("INSERT_ID_OF_SCROLL_CONTAINER_ELEMENT");
});
Hope this helps!
from talk.
@SadhuSantosh @oliver-dvorski Since Kathryn responded above with a solution, I'm going to close this ticket. Let us know if you have any other issues!
from talk.
Related Issues (20)
- Client Theme Builder GUI HOT 1
- Moderation is broken with 8.6.0 HOT 4
- GDPR - actively clean up rejected comments older than 1 year HOT 4
- DSA Anonymous Reporting HOT 7
- Errors that seem to have no effect HOT 1
- INTERNAL_ERROR: Text record must only set "authSource" or "replicaSet"` HOT 1
- Support for Hostnames without TLD in "Site permitted domains" HOT 2
- OpenID Connect HTTP Callback Url HOT 3
- Error while upgrading from 7.3.0 to 8.0.0 HOT 8
- Finnish translation: Notification email footer issues HOT 3
- Expand visible dashboard data to weekly/monthly HOT 1
- Story cache - DATA_CACHING_NOT_AVAILABLE HOT 6
- Option to close sitewide commenting for a specific time (ie. from midnight to 6 am.) HOT 3
- connect to a serverless MongoDB cluster. HOT 1
- Put admin dashboard and used graphql queries/mutations on separate domain/path HOT 1
- Commenting Username Bug HOT 1
- Can't able to render the coral thread in a modal if we have multiple action items on a page for opening modal. HOT 1
- Perspective Filter Toxicity HOT 3
- Comment Activity Email/Notification HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talk.