Comments (5)
Hello!
My apologies for taking so long to reply to this. And my apologies for the state of the code!
You're definitely on the right path. You will want to insert a new ChatBubbleProperties
into the items
array of the Script
. The best way to do that will probably be a function in Frame
, as it contains the script in its state. If you want to avoid having to add the function to the entire chain of components, you might want to look into React context:
https://reactjs.org/docs/context.html
That would allow you to send the function into a context in <Frame/>
, then extract it back out again inside <ChatBubble/>
.
Is that any help?
from podmod.
from podmod.
I am not surprised the performance-scroll-view is causing problems there, unfortunately! It does all sorts of tricks that make it a lot less flexible. My best suggestion for an alternative is what you've already mentioned - including a button in the chat bubble that opens the textarea in a separate div, on top of all the other elements. It wouldn't be anywhere near as nice a UI presentation, but it would get around all of the scrolling issues.
Depending in what direction you go with your ideas it might make sense to abandon the podmod code eventually. Although I tried to make it as flexible as I could, we were also approaching the end of the mobile lab, so parts of it were more rushed than I would have liked. If it served as a good place to test out some ideas before starting something new then I will consider that a win!
It's really great to hear that the mobile lab's work has continued to make an impact, a lot of the time we were working on these things without knowing if anyone was paying attention! I can't promise I will be able to give in-depth answers, but if there are any other things you'd like to know about then let me know!
from podmod.
from podmod.
from podmod.
Related Issues (3)
- inform about new episodes HOT 3
- license HOT 2
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 podmod.