Swipeable Bottom Sheet (new component)

Open
#7,541 19 comments 20 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend, mobile

Research direction

Start by reading the existing QDialog with position="bottom" and the Bottom Sheet plugin, then compare their composition and interaction models with the referenced vue-swipeable-bottom-sheet implementation. Define the supported swipe, height, fullscreen, dismissal, fixed-footer, and QLayout behaviors; done means a documented component or extension that supports the requested arbitrary content and mobile interactions.

Written by the indexing model from the issue text.

Description

kind/feature 💡

Describe the solution you'd like
The world's most used mobile apps in the top 10 massively uses a Swipeable Bottom Sheet with the most varied components and layout within it, not just a menu of actions displayed as list or a grid.

I would like to have a Swipeable Bottom Sheet component in Quasar with this option to compose it with any component with two features:

  1. Option to adjust its height, make it fullscreen in mobile by sliding up to the top and dismiss if you swipe down quickly.
  2. Create and keep a footer fixed while active or the possibility to use the QLayout component inside it.

I still don't know why Quasar doesn't have a Swipeable Bottom Sheet component like this:
https://github.com/atsutopia/vue-swipeable-bottom-sheet
Why not?
Is this a new component concept in the Material Design specification??

Describe alternatives you've considered

  1. QDialog with position="bottom" with a new boolean prop (swipeable) to make it Swipeable (adjust the heigth or dismiss with swipe).

  2. Add the prop boolean swipeable in Bottom Sheet plugin and add the possibility to compose other components, instead of being limited to just a list of objects to build a menu of actions only.

Additional context (examples)

Instagram - Inputs + List + Buttons... within Swipeable Bottom Sheet

image

Telegram - An image gallery + fixed footer with buttons in grid layout within Swipeable Bottom Sheet:

image

OneDrive - Action menu within Swipeable Bottom Sheet:

doc-2020-07-31-12-57-30

Facebook - Swipeable Bottom Sheet with fixed footer (in FB comment):

doc-2020-07-31-12-54-27

Dominant language
JavaScript
Stars
27.2k
Forks
3.7k
Avg merge
1d 22h
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quasarframework/quasar

All issues in quasarframework/quasar

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.