Questions tagged [swipe]

A quick motion gesture across the touchscreen.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

How can I show notification panel when swiping down

I am making a launcher in flutter and I wanted to show notification panel when swipe down on homescreen. I am trying with flutter_local_notifications package but I cant figure out how to do it, ...
HandLeg's user avatar
1 vote
0 answers
22 views

What can I do to fix the jerky movement of my swipe animation with Vue 3 and Hammer.js?

I have been trying to achieve this effect for days and I just don't understand what I might be doing wrong or what is coming into play when I do this type of animation. All I want is to detect a click ...
Pnemonic's user avatar
0 votes
0 answers
24 views

Swipe right to left and AFTER left to right - Jetpack Compose

My problem is pretty straight forward however I don't seem to get a working solution. I'm perfectly capable of swiping left to right (0 -> maxWidth), but not right to left (maxWidth -> 0). What ...
ReeD's user avatar
  • 1
-2 votes
0 answers
18 views

iOS Stripe Payment gateway issue

I am using Stripe payment gateway but my app is rejected Hello, Thank you for your efforts to follow our guidelines. There are still some issues that need your attention. If you have any questions, we ...
Manoj Kumar's user avatar
0 votes
0 answers
30 views

Disabling left to right swipe on specific loaded screens react-native app?

I'm new to React Native, and I have an app that originally had BottomTabNavigator as the root screen. However, I recently added a registration module, so now either BottomTabNavigator or LoginScreen ...
Mourad Tlili's user avatar
0 votes
0 answers
11 views

Why ItemTouchHelper.startSwipe not working?

Is there a working example of using ItemTouchHelper.startSwipe ? I found documentation with example here: https://developer.android.com/reference/androidx/recyclerview/widget/ItemTouchHelper#...
Maxim's user avatar
  • 138
2 votes
0 answers
55 views

Can't detect all Swipes on NestedScrollView with embedded WebView

Need to reliably detect the left and right swipe on whole NestedScrollView. I tried various options but nothing worked so far! Please refer the code below - Following is the layout <?xml version=&...
Anit's user avatar
  • 43
0 votes
1 answer
17 views

Swipe card does not work on iOS but perfectly on Android - Flutter

I have an app like tinder where user can swipe card to like or dislike. I use flutter_card_swiper (https://pub.dev/packages/flutter_card_swiper) package to swipe cards, and carousel_slider (https://...
Clermoe's user avatar
  • 89
0 votes
0 answers
15 views

how to make element center in customized react-slick?

I try to make this active dot center of widows. but i can't do that. any one help me for that? i have added code sandbox link here: CodeSandBox
Jackson Kasi's user avatar
0 votes
0 answers
43 views

How to create a two direction swip in a Flutter page?

I am interested to know how can I make a PageView widget swipe able to both directions at the same time, like what we can see in the TikTok app that you can swipe videos vertically to change them, ...
best_of_man's user avatar
0 votes
0 answers
49 views

How to execute an accessibilityAction when swiping with two or three fingers while VoiceOver is on?

Is there a native SwiftUI accessibility modifier that allows to perform an action when a user swipes horizontally with two or three fingers while VoiceOver is on? I've looked at various SwiftUI ...
Hollycene's user avatar
  • 223
0 votes
0 answers
27 views

Slide RecyclerView item to left (or right) when click some button in the RecyclerView item

How do I slide an item to left, or right, inside a vertical recycler view when I click some button (like "Remove" or "Delete") inside the item? I tried animation, but my ...
Matheus Souza's user avatar
0 votes
0 answers
20 views

How can I create a horizontal scroll with mouse drag and arrows

I'd like to create a menu like this one: https://www.casinofriday.com/en-row/casino If you look at it with an MDPI screen you'll see that it has the arrows and can be dragged with the mouse (in the ...
user3540178's user avatar
0 votes
0 answers
26 views

How to detect audio notification being swiped away using Flutter audio_service?

I initialized my AudioPlayerService class AudioPlayerService { ... Future<AudioHandler> initMyAudioHandler() async { return await AudioService.init( builder: () => ...
Edward Cahyadi's user avatar
0 votes
0 answers
40 views

How to create android swipe-sensitive area pulls a layout up into the visible area

The biggest problem is that I can't formulate my question, so I couldn't even search for the solution. I don't know if I'm going in the right direction at all. I would to be able to swipe up to drag(?)...
sarkiroka's user avatar
  • 1,485
0 votes
0 answers
38 views

How to make a js active just on the second visit on the webpage?

I have a finger swipe js script with sessionStorage. let touchstartX = 0; let touchendX = 0; function checkDirection() { if (touchendX < touchstartX && !sessionStorage.getItem('firstTime'...
WhoAmI's user avatar
  • 21
0 votes
0 answers
28 views

Swipable tabbed view in wearOS with Compose

I am extremely new to Compose and wearOS and I've been looking through a ton of tutorials trying to find a way to have a multi-screen application in wearOS that doesn't rely on tap events to navigate ...
Neglected Sanity's user avatar
0 votes
0 answers
44 views

Why does my Swipe component take so long to re-render?

I'm currently learning React Native and I have been stuck on my component for several hours. It is an image swipe system. I know there are a lot of packages that do what I want, but I'd rather create ...
Hapax's user avatar
  • 31
2 votes
0 answers
122 views

Flutter How to swipe button on both direction

I was able to successfully implement forward swiping. Now, I would like to enable reverse swiping as well, so that users can swipe in both directions. Can you provide guidance on how to achieve this? ...
For Stack's user avatar
0 votes
0 answers
41 views

Mobile swipe id="next", id="prev" for html pages

I have simple html pages on a website with a href id prev and next, so the current page (page two) has two arrows with the following a href ← →: <a id="prev" href="page-1.html"&...
Mike's user avatar
  • 2,051
0 votes
0 answers
183 views

ScrollView inside material top tabs navigation

I have this material top tabs navigation in react native : <Tab.Navigator initialRouteName="Screen1" screenOptions={() => ({ swipeEnabled: true, })}> ...
dudi ftw's user avatar
-2 votes
1 answer
28 views

How to disable toolbar buttons while a list cell is swiped?

Setup: My app has a toolbar with some buttons, and a list. The list cells can be swiped. While a cell is swiped, I want to disable the toolbar buttons because a swipe has to be finished, either by ...
Reinhard Männer's user avatar
0 votes
0 answers
64 views

Blazor - scroll activated styles - mobile devices scroll / swipe event

I'm trying to add a class to an element when I scroll down and remove this class when I scroll up my .NET Blazor Web Assembly App. The desktop version is working well (using WheelEventArgs - DeltaY ...
Robur's user avatar
  • 81
0 votes
0 answers
29 views

Separation between bottom navbar and swipe left/right

I want to create an application with bottom navbar with the possibility of swipe right and left to change fragment. After implementing these features, I noticed that the swipe works by changing the ...
Hugo Coutant's user avatar
0 votes
0 answers
24 views

How to create Android swipe like Swift UITableView Swipe Actions?

How to create Android swipe like the native swift ui code presented in here? I've been searching everywhere but couldn't find a solution. A close approach can be found in this library but it's not ...
radus14's user avatar
  • 132
0 votes
0 answers
101 views

Svelte swipe animation works perfectly from top to bottom but not bottom to top

I am trying to achive a feature where the user will be able to drag a card component up or down for either extending the content and make the card cover the screen or close the card. The card is ...
Rasmus.E's user avatar
1 vote
0 answers
99 views

How can I create a navigation view for iOS using Swift to swipe left and right through a set of images

I would like to create a navigation view for iOS using swift to scroll through a collection of images in a similar fashion to the Photo application on an iPhone. I believe that I need to create a ...
user21188939's user avatar
0 votes
1 answer
116 views

How to slow down scroll velocity in flutter

I am trying to implement a slower scroll velocity in carousel_slider widget, or some better snapping. the problem is that if the user does a very fast swipe motion a couple of items will be scrolled ...
Tom Cohen's user avatar
-1 votes
1 answer
81 views

How to undo by code a SwiftUI swipe action on a List cell?

My app has a SwiftUI List with cells that can be swiped (leading, trailing). Problem: Say, a cell is swiped so that the buttons are visible. Then the app is de-activated in this state, e.g. by a ...
Reinhard Männer's user avatar
0 votes
2 answers
306 views

Swipe up or pull up to refresh in React-Native

I am trying to implement a feature in which whenever I went to end the end of the FlatList and then when I swipe up or pull up for some small time, then this acts as a refresh and required data get ...
Satya Prakash Satyam's user avatar
0 votes
0 answers
102 views

implementing swipe for next item horizontal Listview in flutter

I want to implement swipe for next item in horizontal list view in flutter instead of using view pager, cause it doesn't fit my design. like the way horizontal list view in google app store this is my ...
Yaser Hesham's user avatar
0 votes
0 answers
44 views

Nested RecyclerView with swipe reveal layout

I am using SwipeRevealLayout for swipe-to-delete in recyclerview item.I have textview (height is not stable may vary) and swipe layout. When I have text more than 3 rows , swipelayout height doesnt ...
k.kbr's user avatar
  • 35
1 vote
0 answers
134 views

How to stop swiping the row in RecyclerView after reaching behind button width?

As the gif above, I swipe to the maximum distance and I going to release my finger. What I want to see is that the black layout on the screen remains still and the red delete button can still be ...
msl12's user avatar
  • 48
0 votes
1 answer
133 views

Swiper JS: Adding Two finger swipe on Vertical Swiper

I'm looking out for a way to add two finger swipe on Vertical Swiper. I tried getting object from swiper.touches object, but it didn't help me returning length of fingers used while swiping like give ...
Rachna Rai's user avatar
0 votes
1 answer
32 views

Save swipe item to firebase realtime in xamarin form

I want to save the swipe selected to firebase. but idk how to do it and cant find any solution to internet. This is my codes in swipe view <SwipeView x:Name="swipe_orderstatus"> ...
HelpMeSirPlease's user avatar
1 vote
0 answers
565 views

Failed to resolve: com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.1

I have the following problem: in android studio I want to load the library 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.1' which I took from here: https://github.com/chthai64/...
IdeaSoftWorks's user avatar
0 votes
0 answers
78 views

Impossible to enable Edge swipe on wear OS with SwipeDismissFrameLayout

I create a blank jet compose app on Wear OS. I want to enable edge swipe for exit app with left to right gest because i use pan on my app. I follow the procedure that can be seen [here][1], but it ...
Cyrille Mouret's user avatar
0 votes
0 answers
53 views

Is it possible to swipe cards in all four directions (right, left, top, bottom) using Swipe(React)?

I'm trying to use Swiper(React) to create a deck of cards that can be swiped. The default setting is to swipe either left or right. I want the swipe action for all four directions (right, left, top, ...
Ishika's user avatar
  • 1
1 vote
0 answers
79 views

Introduce left/right swipe gestures to a Javascript class toggle?

I have a modal that has two panels. One is off canvas until it is triggered/toggled by clicking a link. I've included an example showing this working but I was wondering is there away I can also ...
user1406440's user avatar
  • 1,317
1 vote
0 answers
40 views

Photo slider glitches in mobile when button is added

I am using a swiper API to make a swipeable gallery. I am trying to add a button on the slider card however to do so I must remove an overlay on the card and when I do so the slider glitches and goes ...
ohmygodimpregnant's user avatar
1 vote
1 answer
171 views

UITableViewDelegate method for swipe actions is not called at iOS 13

I use a tableView(_:trailingSwipeActionsConfigurationForRowAt:) method in order to add swipe-to-delete gesture in iOS app. It works as expected at iOS 16.2 simulator. But in iOS 13.7 simulator it does ...
corscheg's user avatar
2 votes
2 answers
267 views

When swiping react native app - screens shows twice

Live example https://snack.expo.dev/su1-U5DZc If I swipe screens with buttons - everything okay, but if I swipe with gesture - screens shows twice. Why so? Does this setWtf(state.index); const ...
Hayate's user avatar
  • 653
0 votes
0 answers
24 views

swipeable recyclerview

enter image description here i want to obtain this design and want to set vector asset in middle of swipeable button and curve for border of that buttons anyone help me out for this
Nain Malik's user avatar
0 votes
0 answers
43 views

How to show Swipe transition with tkinter?

I'm creating a project where the Swipe transition between two images. I'm using the tkinter library and I'm stuck. Šobrīd fragments: import tkinter as tk from PIL import ImageTk, Image root = tk.Tk() ...
Sinkos's user avatar
  • 33
1 vote
1 answer
668 views

Jetpack Compose - how to make SwipeToDismiss work on LazyRow?

I saw many examples about SwipeToDismiss working on LazyColumn but I did not see one implementing it on LazyRow. Here is my current implementation - @OptIn(ExperimentalMaterialApi::class) @Composable ...
Alon Shlider's user avatar
  • 1,167
2 votes
1 answer
233 views

Trying to implement MAUI Swipe to change Image

I'm creating a simple page to change the image by swiping. Swipe left gives the next image and swipe right the previous. Unfortunately the swipe events don't trigger. <?xml version="1.0" ...
Jarex's user avatar
  • 21
0 votes
2 answers
245 views

How do you disable swipe to open drawer navigator, but keep swipe to navigate back?

I'm in this situation where I have a screen in a drawer navigator that I want to be able to swipe right to navigate back to the previous screen. But since it's in a drawer navigator, my right swipe ...
midnighttfoxx's user avatar
0 votes
0 answers
117 views

Swipe trailing UITableView Cell by clicking on button

I need to achieve swipe functionality by clicking on the button, as seen in the picture. I achieved this thing by using the following code func tableView(_ tableView: UITableView, ...
Aqeel Ahmad's user avatar
1 vote
1 answer
240 views

Is rememberDismissState cached for LazyColumn Key?

I have composable fun ShowProduct(name: String, image: String, onDismissed: () -> Unit) { var state = rememberDismissState(); if (state.isDismissed(DismissDirection.EndToStart)) { ...
Герман Матисов's user avatar
0 votes
1 answer
48 views

How to create a widget with tabview?

Like in this example: I have tried TabView but that just caused the app to crash.
Nawaf's user avatar
  • 119

1
2 3 4 5
57