File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ export function openBottomSheet(args) {
8686``` typescript
8787import Vue from ' nativescript-vue' ;
8888import BottomSheetPlugin from ' @nativescript-community/ui-material-bottomsheet/vue' ;
89+ import { install } from " @nativescript-community/ui-material-bottomsheet" ;
90+ install ();
8991
9092Vue .use (BottomSheetPlugin );
9193```
Original file line number Diff line number Diff line change @@ -206,21 +206,6 @@ export class Ripple extends RippleBase {
206206 return view ;
207207 }
208208
209- forceSetOnTouchListener = false ;
210- hasGestureObservers ( ) {
211- if ( this . forceSetOnTouchListener ) {
212- return true ;
213- }
214- return super . hasGestureObservers ( ) ;
215- }
216- initNativeView ( ) {
217- // we need to force the touch listener even i there is no tap gesture.
218- this . forceSetOnTouchListener = true ;
219- this . setOnTouchListener ( ) ;
220- this . forceSetOnTouchListener = false ;
221- // this.nativeView.setClickable(false);
222- super . initNativeView ( ) ;
223- }
224209 rippleDrawable : android . graphics . drawable . Drawable ;
225210 getRippleColor ( ) {
226211 if ( this . rippleColor ) {
You can’t perform that action at this time.
0 commit comments