Replies: 6 comments 12 replies
Thanks, glad you like it! What you are describing is the I will add it as a separate mode. The plan: the previous content stays visible and interactive, dimmed by default (around 50%) with a single light sweep passing over it. The dim level will be a CSS variable so you can take it down to zero (full opacity, light only) if you prefer. Does that cover your grid case, or is there something in your setup I should account for? Happy to take this on. |
|
Thank you, yes previous content remain visible but to be able to adjust this visibility or fading but not interactive in a way it responds to user click of course, I thought with your attractive light sweep going over it, it may be attractive. Again Thank you so much. I also think in future you can further make thing versatile by this light to have other effects, but I cant think of anything at the moment but you are the expert :) |
|
Update: this is now live in v1.4.0 🎉 npm i @aejkatappaja/phantom-ui@latestmode="overlay" is documented here: https://aejkatappaja.github.io/phantom-ui/reference/attributes/#mode Enjoy, and thanks again for the suggestion! |
|
You welcome, I always value well structured patterns, designs, efforts. Perhaps one last thing you may want to consider is that to have one more direction that is diagonal, top left to bottom right. also adding opacity as variable to your perhaps. but its looking amazing |
|
Hey, Sure no problem, another idea also, although I am not sure how well it may look, this one looks a bit crazy. imagine that you have a grid and you start reloading from server. what if we generated slight vertical zoom from say left to right as another option. like as if you have a tube rolling underneath the carpet, so the raised level will be what is zoomed a bit from above. I am not sure if I explain it clearly or even it looks good at all. but since you said keep them coming I thought I mention it. Dont feel obliged though as I am not sure if it looks good or not, it could have dimmed background and zoom clearly on a thin vertical zoom. Take care |
|
Hi Again, I was wondering if I can have all the code in one or 2 file so that I can use it in my project in typescript. rather than use npm? another question is that what can cause in our windows 11 os shimmer stop working and how I can override all the possibilities. one I know is that change accessibility animation true if it is turned off but I am sure other things may also stop animation to work. the other one is matchMedia('(prefers-reduced-motion: reduce)').matches if it is set. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, Congrats for such amazing features. I was wondering if it is easy to have shimmer but at the same time showing a faded/not faded background so in a way it is like a ghost hovering over the actual last result for example grid result from backend. like a light passing over the background that is showing.
Thanks
Hshahi
All reactions