Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Marc J. Schmidt
    @marcj
    what's the status of this draft?
    everdimension
    @everdimension
    mozilla should implement it, too https://bugzilla.mozilla.org/show_bug.cgi?id=1272409
    it works already in chrome behind a flag
    Marc J. Schmidt
    @marcj
    I see
    we could add support for that if available in the browser
    everdimension
    @everdimension
    that would be great
    I think this ResizeObserver along with passive event listeners are best features to look forward to in web app development
    Marc J. Schmidt
    @marcj
    yeah I agree :)
    everdimension
    @everdimension
    @marcj would you happen to know what is the status of "container-queries"?
    Marc J. Schmidt
    @marcj
    I have no idea
    Ryan Ham
    @superamadeus
    Can this be used to fire arbitrary events on some element resize?
    Marc J. Schmidt
    @marcj
    Yupp
    Glenn Matthys
    @RedShift1
    What's the proper way to remove a sensor?
    Aleen
    @aleen42
    image.png
    I have recently used ResizeSensor for detecting changment of size for an element, but it seems that the event has not been triggered yet under ID when I change the size of $wrapper
    Anyone can give me a favour?
    Mark Steele
    @marksteele
    hey all, I'm looking for a sample of this using polymer 2
    anyone have something handy?
    Marc-Adems Dor
    @Marc-Adems
    Hi there can anyone here help me with media queries?
    Lucas Constantino Silva
    @lucasconstantino
    Guys, anyone had luck with approaches to use the polyfill with React?
    Tommy Hodgins
    @tomhodgins
    Hello all :3 Is anybody aware of any element/container query plugins that compile down to vanilla CSS?
    Marc J. Schmidt
    @marcj
    doesn't work with pure css, you always need a bit JS for the resize sensor
    Tommy Hodgins
    @tomhodgins
    Ah! I've got a technique for writing container queries and rendering them as CSS media queries, so I'm looking around for any precedents like that before I say it's the first :3
    Marc J. Schmidt
    @marcj
    but this library doesnt need a css preprocessor so its vanilaa css basically
    Tommy Hodgins
    @tomhodgins
    I do the JS-powered kind too and love it :D
    Marc J. Schmidt
    @marcj
    it isnt the same functionality if you use the media queries sensor as it only reacts on window's resize event and no every other
    sweet ❤️
    Tommy Hodgins
    @tomhodgins
    is it okay if I PM you some info? I don't wanna share until December 25th :D
    Marc J. Schmidt
    @marcj
    sure
    George Kayzer
    @Niaro
    Guys?)) When we are gonna release a new version?) It's just, fixes at the master brunch is very desirable in production))
    Marc J. Schmidt
    @marcj
    I see🤩 lets release soon, I'm in holidays tho
    George Kayzer
    @Niaro
    @marcj looking forward to it)) thx!
    Sandeep Saripalli
    @sandeesaripalli
    How do I use this with angular 6?
    Precious Adeyinka
    @precious-adeyinka
    Wadup peeps?
    AMaceikaCortina
    @AMaceikaCortina
    @marcj or does anyone know if I can use two sets of variables with an or statement something like this [max-width~="900px" || max-height~="195px"]?
    Varun Sridharan
    @varunsridharan
    how i can use this just to work with a single css class
    but x number elements
    instead of all divs
    / element
    AMaceikaCortina
    @AMaceikaCortina
    Use a class on the elements
    <div class="elementToUseQuery></div>
    AMaceikaCortina
    @AMaceikaCortina
    css would look like this .elementToUseQuery[max-width~="700px"] { font-size=25%;}
    joescreencloud
    @joescreencloud
    Hi guys i had a problem with React when i use ResizeSensor in componentDidMount
    Xander_Luhgar
    @RaghulXander
    hello guys someone can help me how can i use this in scss file
    Zaytsev Kirill
    @cmath10
    Hello! I'm not able to find in docs - is it possible with this library to watch changes in such element attributes, like scrollHeight?
    Marc J. Schmidt
    @marcj
    @cmath10 no
    Zaytsev Kirill
    @cmath10
    @marcj ok, thanks for information
    Achara
    @Achara
    Hi guys, I ran into an issue recently when using the amcharts and ember-table libraries in my ember application. The js error is 't.resizeSensor.resetSensor is not a function' in core.js (amcharts file). Any advise for me to solve this issue? Thank you!
    Achara
    @Achara
    Good morning @marcj, I created a PR on the fix for the js error I mentioned above. Can you please review? Thank you!
    marcj/css-element-queries#291
    Chrizzly
    @Chris2011
    Hey does anyone know whether there is already a working draft on that field in the CSS spec?