Questions tagged [swipe]
A quick motion gesture across the touchscreen.
2,791
questions
0
votes
0
answers
16
views
InvalidElementStateException: Message: Swipe action cannot be performed
I got the following error InvalidElementStateException: Message: Swipe action cannot be performed
When I execute the command : Swipe (to scroll down and up in the IHM)
> Swipe 50 1100 50 ...
1
vote
1
answer
22
views
How do I show data based on the currently selected week in a WeekPicker and how to still be able to swipe through the data with a swipe animation?
I am currently developing an Xamarin Forms application for a customer. The app should show data, based on the current week selected in a Picker. The app needs a functionality to swipe between the data ...
-1
votes
0
answers
24
views
Android custom pull down refresh within nested scroll view
I'm trying to implement custom pull down refresh within nested scroll view as attached in the GIF.
Below is my current code:
<com.example.common.view.LockableNestedScrollView
android:id=&...
0
votes
0
answers
8
views
Unstake swipe.org LP Tokens via Smart Contract
Here is me, a swipe.org farm staker. The website was shut down, now stating "Our front-end support will end on March 1, 2022. After that, you will need to use smart contracts in Ethereum and BSC ...
0
votes
0
answers
55
views
Disable swipe gesture in child component in Android Jetpack Compose
As mentioned by the title, I want to disable the swipe gestures ExposedDropdownMenuBox in a Composable.
The reason is sometimes, the swipe triggers both Drawer's swipe to open and the ...
2
votes
0
answers
73
views
+50
How to get vertical ViewPager curl page animation in Android
I am implementing a ViewPager for vertical scrolling. I have used ViewPager.PageTransformer for animation.
Below is my code.
public class VerticalPageTransformer implements ViewPager.PageTransformer {
...
0
votes
0
answers
27
views
Flutter: Flickering when swipe happens with lottie/gif animations on slides
I have created certain slides with liquid_swipe with each slide having a Lottie animation.
When I slide from ith slide to i+1th a background flicker happens.
Please help me out. Thanks in advance!
...
0
votes
0
answers
12
views
WinUI 3 Height of SwipeItem
I would like to have TreeViewItems configured inside a SwipeControl; this works but the tree gets spaced really ugly, because I can't find a way to shrink the size of the SwipeItem; any idea where to ...
0
votes
0
answers
27
views
Flutter CustomMaterialPageRoute not calling onWillPop after swipe right
I am attempting to have a list screen return am array of selected items to a prior screen. No problem in Android, but no luck in iOS. The right swipe does not call the onWillPop function that returns ...
0
votes
0
answers
46
views
Swipe does not work on a native android application in appium python
I've tried several options and none of them work. All examples below do not work. Swiping to an element that is not initially visible does not work. Swiping down without anchoring to an element doesn'...
0
votes
1
answer
20
views
flutter show error:“Horizontal viewport was given unbounded height”
this code show error "Vertical viewport was given unbounded height"
Container set hight is ok,but Is there an adaptive height solution?
@override
Widget build(BuildContext context) ...
0
votes
1
answer
42
views
Layers in select interaction with swipe in openlayers
I use a swipe in Openlayers to show a layer on each side, which can be chosen from a menu. That is, it is not fixed whether a layer will be shown on the right or left side of the swipe. I have two ...
0
votes
0
answers
40
views
SwiftUI : How can I set limit of drag gesture range in 'onChange'
import SwiftUI
struct TaskRowView: View {
@State private var offsets : CGSize = .zero
@State private var isSwipped : Bool = false
@State private var isShowCreateTimerView : Bool = false
...
2
votes
1
answer
72
views
SwiftUI: Incorrect UI when switching to a new list from an old one with swipe button shown
The issue can be reproduced consistently with the code below. Xcode 13.3 + iOS 15.4 (both are latest).
enum ListID: String, CaseIterable, Hashable, Identifiable {
case list1 = "List1"
...
0
votes
1
answer
42
views
A transparent dot coming on the Vertical SeekBar while seeking down on Android
I have added a Vertical SeekBar in my android application which doesn't show the thumb on the SeekBar. This is working all fine but having a small issue - when I scroll/swipe the SeekBar to the bottom,...
0
votes
1
answer
65
views
Select interaction with swipe in Openlayers
I'm using swipe control https://viglino.github.io/ol-ext/examples/control/map.control.swipe.html
to show two layers on the map: right and left side.
[EDIT]
I have two iterations selected, one for each ...
0
votes
0
answers
63
views
Swipe Automation - WebdriverIO - javascript Mobile
I'm new to javascript and I'm following this code but when starting automation it doesn't slide down page. (mobile)
`$(FORMS_ICON_HOME_SCREEN).click()
const {height} = driver.getWindowSize()
...
0
votes
0
answers
125
views
How can i change pagination type property in swiper on required breakpoint
I need to switch my slider's pagination type on breakpoint using swiper. I tried this code, but something went wrong:
const slider = new Swiper(".new-offers__slider", {
navigation: {
...
0
votes
2
answers
1k
views
React native - Drag up modal from bottom while swiping up on the screen
How would one slowly drag a modal up when swiping up on the screen, drag it up completley if swiped up fast and close when swiped down.
This is just like how Snapchat works in the video shown bellow.
...
0
votes
1
answer
90
views
Swiping elements inside a TabView - Xamarin.Froms
I have an horizontal TabView with 2 TabViewItems. In one of them I have a WebView that loads a certain website. The website has a long string of text that can be swiped horizontally.
<TabView>
...
0
votes
0
answers
22
views
How to prevent video play while swiping?
I want to prevent videos from plaYing while swiping on mobile devices.
I've tried the following:
$(document).ready(function() {
const wrappers = document.querySelectorAll('.video-wrapper');
...
0
votes
0
answers
18
views
React Native use Gesture and Panning at Sametime
I am using GestureRecognizer for detecting swipes but I also want to detect panning on same component. Is there a way to use both GestureRecognizer & PanRecognizer together?
<GestureRecognizer
...
0
votes
1
answer
83
views
Swipe to get message details in chat using flutter
How can we add a function where we can Swipe the particular message to get message details like time and date in chat using flutter language.
0
votes
0
answers
20
views
disable a SwipeLayout android
I did a SwipeLayout which swiped to from the right, with this code :
check=findViewById(R.id.one_swipe);
check.setShowMode(SwipeLayout.ShowMode.PullOut);
check.addDrag(SwipeLayout.DragEdge.Right,check....
1
vote
0
answers
26
views
React Native input based on how much someone swipes an object
I'm building an app in React Native (using Expo), and I need to build a UI where the user swipes an object, and how far they swipe corresponds to a different input (I'm not talking about a slider, I ...
4
votes
1
answer
236
views
React Native: How to implement 2 columns of swipping cards?
I am trying to implement a scrollable list of cards in 2 columns. The cards should be swipe-able left or right out of the screen to be removed.
Basically, it should be like how the Chrome app is ...
1
vote
0
answers
83
views
How can I trigger the default swipe events of multiple components with a swipe from anywhere on the screen in react native?
I am using react native with expo. I have created a Carousel with react-native-snap-carousel and a material-top-tab-navigator with react-navigation 6.
My goal is, that when I swipe through the tab ...
0
votes
0
answers
37
views
is it possible to limit Listener widget to only response for two direction
i am trying to only detect swipe left and swipe right using Listener Widget
i implement the following code , and it is work perfect but the problem is that is work for all direction UP DPWN LEFT ...
0
votes
0
answers
44
views
Mobile swipe: next/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"&...
0
votes
0
answers
25
views
Revslider | Disable Touch Swipe on specific layer
I can prevent the Mouse Wheel Navigation, on a Layer which have scrollable content with the code bellow but can't find any way to disable Touch event.
// Disable mousewheel when inside the form.
$(...
0
votes
0
answers
43
views
JS code for disabling scrolling and replace with "scroll to next div on swipe down, previous div on swipe up"
I'm looking to find a way to be able to replace the default scrolling method for mobile devices of a website.
Tried to implement this code, but it fires every time there is a single swipe (which the ...
0
votes
0
answers
25
views
Swipe from right to left in launcher
I'm make custom launcher, but I don't know what is this view in image.
It's work like viewpager but I think it isn't viewpager. I swipe from right to left it show.
What is this view ?, How can i do ...
0
votes
0
answers
58
views
How to prevent EndDrawer closing automatically by outside click in flutter like barrier dismissible in Dialog
I want to prevent End Drawer from closing automatically by clicking outside because if the user accidentally clicks outside of drawer it closes the drawer which is not that great because user filling ...
0
votes
1
answer
61
views
How to make border follow the cursor in the top navigation bar on a webpage
I have a question. I am making a webpage and I got an idea that the top navigation bar would follow my cursor. Basically, I would like that the border around each link in the top bar would follow ...
0
votes
1
answer
57
views
iOS: Swipe mobile app until text is visible
I am trying to swipe down the application and stop the swipe when the "text" is visible.
I've tried but I get NoSuchElementException on "el" part. It is not even proceeding to ...
0
votes
1
answer
81
views
How to make a swipe/scroll function that feeds media like social media apps
I’m brain storming an app like tik tok or YouTube shorts I believe I can use my html/css to make the UI but I have know idea how I can do that scroll function preferably in Java because that’s the ...
0
votes
0
answers
28
views
Infinite Swipe functionality
Guys, I have two questions implementing this functionality
1- I implemented swipe using Card Stack View, Is there something better?
2- How to implement infinite swipe, like what in video, in the most ...
0
votes
1
answer
576
views
React Swipeable tab
I am a beginner react user, and am trying to incorporate simple swipeable tabs for mobile viewer.(similar to the tab on the instagram profile)
I found react-swipeable-views and Material UI and tried ...
0
votes
0
answers
64
views
Slick Lightbox Won't Open After Swiping on Slider
Hey y'all this is my first time posting here, so please let me know if I've asked correctly.
I have implemented a button that opens up a Slick Lightbox with Slick Slider. The button opens the current ...
0
votes
0
answers
49
views
Are there any functions for long-swipe(full-swipe) in Swift UITableViewCell?
I want a full swipe just by a short swipe gesture(normal swipe gesture).
But I don't know the function that causes the long swipe or the function that detects the swipe gesture.
Here's the example.
0
votes
0
answers
59
views
How to scroll only one item by one in recyclerview?
I have a horizontal list which it's using a recycler view and a PagerSnapHelper to simulate a view pager.
I want to swipe scroll one element at the time, but the problem is that i can scroll to the ...
0
votes
0
answers
40
views
change the color of a shape drawable background in swipebutton
I'm using the com.ebanx:swipe-button swipebutton and as a background, I'm giving it a shape drawable. now, I have to to change the color of the shape programmatically . I've already tried ...
0
votes
0
answers
85
views
Mimicking mobile-style swipe scrolling on desktop in Typescript
On a mobile device displaying a webpage with large vertical content, there are two main scrolling behaviors I've seen:
Touch start, slow touch move (swipe), and touch end.
Touch start, fast touch ...
0
votes
1
answer
59
views
How can I swipeable Kivy Button that can also have single, long or double press functionality?
I want to make Kivy mobile app that has similar swipeable Buttons (or other purpose filling widgets). In adition to that I want to have seccond type of input from same Button. For instance Gmail ...
-1
votes
1
answer
107
views
How to go about a view which can be swiped left/right AND up/down?
I'm learning SwiftUI for iOS and I'm working with XCode 13. How the "heck" to go about swiping my viewport left & right to change different views within the same 'container' or '...
0
votes
1
answer
436
views
ItemTouchHelper - Can't scroll RecyclerView, Swipe doesn't work
Well, at the beginning of the Implementation of ItemTouchHelper, I chose to use only the Swipe function from it. Everything worked - with the help of Swipe I could delete items in RecyclerView etc. ...
0
votes
0
answers
45
views
swiping left not responsive in my love2d code
function updateControl(c)
c.x2, c.y2 = love.mouse.getPosition()
if love.mouse.isDown(1) and c.isDown == 0 then
c.x1, c.y1 = love.mouse.getPosition()
c.isDown = 1
elseif ...
0
votes
0
answers
20
views
Inconsistent behavior of UIPageViewController after swipe
The target is to make tableview, which will be completely updated after swipe.
I am using VIPER architecture.
I have PageViewController, which use Presenter as its DataSource and Delegate.
I have ...
0
votes
0
answers
42
views
How can you swipe on openlayers webgl?
Now, while developing it as a react, we are using openlayers using swipe in ol-ext. We are spraying a lot of coordinates using webgl point, but applying swipe causes the following error.
Is there a ...
0
votes
0
answers
147
views
Avoid text overlay on swipe with react native gesture handler
I am using Swipeable from react-native-gesture-handler. When I swipe, the text from the initial screen remains visible and there is an overlay with the text from the page that I swipe to:
Text overlay ...