Giter Site home page Giter Site logo

Comments (5)

alastaircoote avatar alastaircoote commented on July 29, 2024

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.

schwrrring avatar schwrrring commented on July 29, 2024

from podmod.

alastaircoote avatar alastaircoote commented on July 29, 2024

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.

schwrrring avatar schwrrring commented on July 29, 2024

from podmod.

schwrrring avatar schwrrring commented on July 29, 2024

from podmod.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.