question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Swipeable Bottom Sheet (new component)

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:15
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
pdanpdancommented, Jul 31, 2020

It’s not so difficult to do it adjusted to your needs. It would take less than recording all these images 😃

https://codepen.io/pdanpdan/pen/ExPqZbK

The problem is that it’s hard to do it as a generic component because each use case is different.

4reactions
rodrigoslayertechcommented, Aug 6, 2020

I checked all the code.

I believe that we are discussing a solution to be implemented within the Quasar core and not a specific solution for me.

I just thought that you had confused the fixed footer, so I tried to clarify that this is the example of the last GIF, a Bottom Sheet to comment there on Facebook.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-swipeable-bottom-sheet - npm
Swipeable Bottom Sheet. Latest version: 1.1.2, last published: 2 years ago. Start using react-swipeable-bottom-sheet in your project by ...
Read more >
manufont/react-swipeable-bottom-sheet - GitHub
A swipeable material's bottom sheet implementation, that uses react-swipeable-views. This can be used to reproduce Material Design's Bottom Sheet guidelines.
Read more >
react-swipeable-bottom-sheet examples - CodeSandbox
Learn how to use react-swipeable-bottom-sheet by viewing and forking example apps that make use of react-swipeable-bottom-sheet on CodeSandbox.
Read more >
Swipeable Bottom Sheet Component For Vue.js
1. Import the Bottom Sheet Component. import VueBottomSheet from "@webzlodimir/vue-bottom-sheet";. 2. Register the component. export default { components: { ...
Read more >
react-swipeable-bottom-sheet - npm package - Snyk
An important project maintenance signal to consider for react-swipeable-bottom-sheet is that it hasn't seen any new versions released to npm in the past...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found