Giter VIP home page Giter VIP logo

Comments (7)

luludevmuniz avatar luludevmuniz commented on May 27, 2024 1

It will be easier when material3-adaptive and Window Size Class support for CMP is out. See 3688 and 2404.
For the latter, we have https://github.com/chrisbanes/material3-windowsizeclass-multiplatform

from compose-multiplatform.

Sanlorng avatar Sanlorng commented on May 27, 2024 1

Thanks for the information!

But I tried to use the Window Size class but the result was more o less the same, so not correctly adapted to the mobile size, but the materia3-adaptive is still in development to be implemented in a future release?

Material3-windows-size is align the adaptive design guideline,if you want get the best experience ,you should read the guideline

from compose-multiplatform.

PMARZV avatar PMARZV commented on May 27, 2024 1

its because <meta name="viewport" content="width=device-width, initial-scale=1.0"> is not set in the html file (i dont know if adding this will render the canvas unusable and clicks and pointer events will be affected )

from compose-multiplatform.

N7ghtm4r3 avatar N7ghtm4r3 commented on May 27, 2024 1

@PMARZV very thank you because the content is not more zoomed out and the clicks and pointer events looks like are not affected and work correctly

from compose-multiplatform.

N7ghtm4r3 avatar N7ghtm4r3 commented on May 27, 2024

Thanks for the information!

But I tried to use the Window Size class but the result was more o less the same, so not correctly adapted to the mobile size, but the materia3-adaptive is still in development to be implemented in a future release?

from compose-multiplatform.

N7ghtm4r3 avatar N7ghtm4r3 commented on May 27, 2024

Yes sure! Thanks for the tip, but I'm facing this behavior also using the `Material3-windows-size':

Viewed from desktop:

Screenshot 2024-05-10 164751

Viewed from a mobile device (the same text is that little dot in the center of the screen):

Screenshot 2024-05-10 164845

It look like if the content of the page was zoomed out

from compose-multiplatform.

N7ghtm4r3 avatar N7ghtm4r3 commented on May 27, 2024

Okay thanks! I will try It and send a feedback about the click are still usable

from compose-multiplatform.

Related Issues (20)

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.