Git Product home page Git Product logo

Comments (4)

RyanHavoc avatar RyanHavoc commented on August 12, 2024

Hi Seth,

With regards to the resizing we're going to phase that out. The original design for Astrum was quite different and at the time we decided to mask the transition between breakpoints while the interface adjusted itself because things were looking broken. This is no longer the case but the resizer is still in there waiting to be removed.

With regards to the load time Astrum detects when components are visible a certain resolutions based on their height on load. He can't detect this until all the components have loaded in which leads to the load times. Reducing that wait time won't "break" much but you will find that if for example you have a navigation bar that visible on desktop but hidden on mobile Astrum won't be able to detect this properly and you may get some strange results.

We're looking into improving load times through caching in a future update.

Thanks
Ryan

from astrum.

sethwhitaker avatar sethwhitaker commented on August 12, 2024

Seems a bit opinionated for the pattern library to decide when something is visible or not. Wouldnt it make more sense to leave that up to the developers and their own design system?

Maybe im not fully understanding the reasoning behind it or what actually is being hidden.

from astrum.

RyanHavoc avatar RyanHavoc commented on August 12, 2024

@sethwhitaker I think you're misunderstanding. Say for example you have a component that's visible on desktop but hidden on mobile, or vice-versa. Instead of showing an empty sample Astrum show's a message that say's "This component is hidden at this resolution.".

To detect if the component is hidden or not it checks it's rendered height. If it's 0 it's hidden and the message is shown.

Astrum isn't forcing elements to be hidden it's just not showing a "broken" component when you hide an element through your stylesheet.

from astrum.

sethwhitaker avatar sethwhitaker commented on August 12, 2024

@RyanHavoc Ah ok, thanks for the clarification.

from astrum.

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.