Card view should have flag to enable lightbox/tappable.
From the Deployment Checklist as of Jan 2020:
All tappable components (namely, cards) have a lightbox background, an on-click key, and must be tappable. If using one of these components, the card needs to do something meaningful when clicked. Otherwise, use components without lightboxes if you don't want them to be tappable.
However rendering with the same image isn't possible due to different image size parameters between the card views and constructed hbox/vbox formatting. This is especially noticeable in a list.
For example a normal on-click for each planet items looks like:
While a targeted query means that the planet item isn't tappable (Venus is the focus) but now the PNG image is no longer a size match with the rest of the list:
Venus in this case is the active item but the image is now smaller than the moon image.
As to why not remove Venus from the list, as the list provides a left to right sorted visual index for the Sky View showing each planet, omitting a planet item isn't a viable option.
So trying to match a thumbnail-card with image has only has the style property results in a almost but not quite the same.
....
Please sign in to leave a comment.
Comments
1 comment