stylesheet icon indicating copy to clipboard operation
stylesheet copied to clipboard

Add underscroll with style class

Open cassidyjames opened this issue 4 years ago • 1 comments

Problem

I've seen devs asking how they can add underscroll to a specific view like they get in popovers (see: https://github.com/hezral/quickword/issues/5); however, in the past we've been concerned about being able to reliably add it by default (due to differing view background colors).

Proposal

We could at least add it as a style class that can be added so devs can opt into it.

Prior Art (Optional)

Popovers have underscroll fade to the background color.

cassidyjames avatar Oct 20 '21 15:10 cassidyjames

FWIW I'm doing this in libadwaita as well (not landed yet tho), and I ended up with the following:

image

alice-mkh avatar Feb 28 '23 13:02 alice-mkh