Tanner Hodges

Results 14 comments of Tanner Hodges

For anyone else wanting to do this now, here's the bash script I'm using: ```bash find . -name '*.svg' -exec sh -c 'svgexport "${0%}" "${0%.*}.png"' {} \; ``` If you...

Hi, I'm also experiencing this issue with regex commands failing with exit code 255. ## Workaround: Double Quotes Unsure why, but when I switched the quotes around my expressions from...

Could this be related to https://github.com/pantheon-systems/terminus/issues/2039#issuecomment-557170708?

Looks like it's only an issue with minified flies. Try linting with an uncompressed version. Just tried with 200kB minified and got the same error. Unminified it and it ran...

❤️ Love this idea. What do you think of a `data-snap-slider-visible` attribute? Might look something like this: ```html ... ``` Then, in addition to `.is-current`, I'd add `.is-visible` to all...

How about something like the responsive images syntax for ``? ```html ``` Here's a quick prototype to try it out: https://codepen.io/tannerhodges/pen/95686e53db81686a93a0103323cfc0e7 [![Snap Slider Prototype - "Visible" Feature](https://user-images.githubusercontent.com/1619485/90967956-9a2b5a00-e4b4-11ea-8e8c-c150e61ecaf0.gif)](https://codepen.io/tannerhodges/pen/95686e53db81686a93a0103323cfc0e7)

After playing with it more, I think my original idea kinda stinks—much better to just use [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API). That way it can handle responsive changes (even dynamic updates) out-of-the-box, no extra...

> Regarding question #3, what are some use cases of configuring rootMargin specifically? None off the top of my head, though I may come across some during testing. > I...

Quick update: been busy on a couple other projects, but after next week I should be able to get back into Snap Slider. (This feature has helped me find other...

Hey @jorgeramos, sorry I've been MIA. 😞 I did work on implementing this (made a couple different versions) but as I worked through the tests I kept running into issues...