Skip to content

[css-async-style] CompositorWorker use cases #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ianvollick opened this issue Oct 8, 2015 · 1 comment
Open

[css-async-style] CompositorWorker use cases #46

ianvollick opened this issue Oct 8, 2015 · 1 comment

Comments

@ianvollick
Copy link
Contributor

ianvollick commented Oct 8, 2015

To complement the list of scrolling use cases that's been started, it would be nice to build a list of non-scrolling effects that might be enabled via something like CompositorWorker.

Here are some examples to get the ball rolling:

  • Simple side-drawers which can be dragged out from the side, sticking to the finger
  • Simple custom panning that sticks to the finger and can fling in arbitrary directions (eg. google maps)
  • Drag-and-drop interfaces where elements “skootch” out of the way to make room for the dragged element (or other animations to illustrate potential drop targets).
  • Animating force-directed, springy/physical application layout. For example, drawers with inertia/friction or even more exotic, physics-based interfaces like BumpTop.
  • Animating constraint based application layout transitions (eg, responding to the addition of new views to a Cassowary layout).
  • Applications where the compositor thread is the control thread.
  • If access to input is available, input filtering.
@flackr
Copy link
Contributor

flackr commented Oct 14, 2015

In addition to custom panning and drag and drop that sticks to the finger there are also pinch and rotate cases:

  • Simple custom panning, pinching, rotation that sticks to the finger and can fling in arbitrary direction (e.g. google maps on mobile supports all of these).
  • Sticky custom panning, pinching, rotation: e.g. in addition to the above, stick slightly at 0 degree rotation to prevent accidental rotation when zooming.
  • Drag and drop and resize and rotate. E.g. a publisher like application where you can not only reposition items but resize and rotate them.

majido added a commit to majido/css-houdini-drafts that referenced this issue Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants