drag Questions

4

Solved

I am using google map v3 api. I need to detect the drag event on the map. Be it the drag on the map to move to a nearby geographical location or a drag on the marker. I need some javascript functio...
Gifferd asked 8/8, 2011 at 11:16

1

Solved

Apple has begun using a pill-shaped "grabber" drag handle grip to represent draggable drawers in Apple Maps, Find My, etc. A grabber is a visual affordance that indicates that a sheet is...
Middlebreaker asked 2/9, 2021 at 22:0

2

I have some React components where I use the HTML Drag interface. In particular, I listen to dragover events on one component and set x and y positions with the DataTransfer object. Then, I listen...
Rounding asked 25/2, 2019 at 10:37

2

Solved

Following this Qt tutorial I have written this simple code. There is a horizontal ListView with some simple colored rectangle on it as delegate for the model items. import QtQuick 2.5 import QtQui...
Copro asked 24/11, 2016 at 14:53

4

Solved

I need to make an item draggable with angular-cdk. I have imported the DragDropModule in the app module. I am applying the cdkDrag inside an ngFor. <div *ngIf="messages.length" > <div *...
Dingo asked 3/6, 2019 at 12:29

2

Solved

This is my first time trying out SwiftUI, and I am trying to create a SwiftUI view that acts as a split view, with an adjustable handle in the center of the two views. Here's my current code imple...
Bug asked 12/4, 2020 at 10:22

1

Solved

I have a green square that I can drag vertically. But whenever I stop dragging it, I want it to reset the offset to the start with an animation. I tried it like this, but I can't figure it out. Doe...
Totality asked 28/4, 2021 at 16:51

2

Solved

I want to implement a movable imageView when it is drag. The dragging is working perfectly alright. But when i drag to the end , the imageView goes out of the screen. How can i make the movable of ...
Emblazonry asked 4/4, 2016 at 12:29

6

Solved

I'm using a Slider in my javaFX project and I have a Label that updates when I move the slider. I want the Label to update whilst I'm dragging the Slider and not only when the drag is dropped. ...
May asked 1/4, 2014 at 8:20

9

Solved

I am making a windows form application in visual studio 2013 Express. In order to make the application look more customized and attractive, I designed the forms in my application. I set the form b...
Episiotomy asked 27/6, 2014 at 10:24

2

I am using “drag & drop” and “swipe-to-dismiss” in RecyclerView with ItemTouchHelper. Without any library, according to this tutorial . It works perfectly. But the problem occurs when there is ...
Merrick asked 17/3, 2016 at 11:2

3

Solved

I am using Swiper 3.4.2 slider with thumbs as a pagination slider. And I need to disable drag on the pagination slider but to enable click events so the main slider can be changed by clicking on th...
Dever asked 22/5, 2017 at 14:47

1

Solved

I'm just getting started with SwiftUI and I was hoping for the best way to tackle the issue of keeping this rectangle in the bounds of a screen during a drag gesture. Right now it goes off the edge...
Madera asked 1/9, 2020 at 18:0

4

Solved

Is it possible to implement mouse click and drag selection box in WPF. Should it be done through simply drawing a rectangle, calculating coordinates of its points and evaluating position of other o...
Eurydice asked 3/12, 2009 at 6:55

6

I have to drag some views on screen. I am modifying their position by changing left and top of their layout parameters from motion event on ACTION_MOVE from touch listener. Is there a way to "drag"...
Amortize asked 16/12, 2011 at 14:31

2

I tried to use react dnd in my react web application. I create a js file call withDnDContext.js. When I compile it, I received an error 'react-dnd' does not contain an export named 'DragDropContext...
Kaunas asked 26/7, 2019 at 3:15

1

Recently I started to learn Drag and Drop API and was going through some tutorial on Youtube starting with this which was pretty good, Understood the whole Drag Cycle. But I saw some other tutori...
Medius asked 23/1, 2020 at 20:15

4

Solved

I am new to WPF. I want to draw a small circle on Canvas when I click mouse and be able to drag it around smoothly. How can I accomplish this?
Quint asked 23/9, 2009 at 10:30

1

im new to react-native and overhelmed with all the options in the www. thats why i'm a bit confused how to complete this task in the best possible way. i want to make something similar to this, bu...
Aubade asked 31/1, 2017 at 15:51

1

I have two Lists each with simple items. I can rearrange items within a list, with the code shown below. I want to be able to drag an item from one list and drop it into the other list. Not sure wh...
Albuminuria asked 21/10, 2019 at 19:8

1

Solved

I have a horizontal scroll div that is also draggable. The elements which inside this div are links. every time I leave the drag it fire the click and send me to the link. Is there a way that I c...
Portauprince asked 12/10, 2019 at 10:40

2

// my code that calls upon n images in a directory to be placed on the JPanel public void imageAdder(int n, String name){ BufferedImage myPic = null; for (int i = 0; i <= n; i++){ try { my...
Cecillececily asked 13/1, 2015 at 5:5

0

I implemented a vertical ScrollView in SwiftUI, and then gave each row horizontal drag gesture. Somehow implementing this stopped the ScrollView drag when dragging inside a row (as to see the rest...
Comparison asked 24/9, 2019 at 2:26

3

I am trying to write an application that will dynamically load data to map while user pans or zooms it. I need to track when the map is finished to change its view state (stops panning or zooming...
Greedy asked 25/8, 2010 at 15:15

1

how can I easily create an app like this in React Native? As you can see on the gif I need to draw rectangles on the grid. Are there any libraries or maybe even paid commercials solutions for cr...
Nitrochloroform asked 7/8, 2019 at 9:10

© 2022 - 2024 — McMap. All rights reserved.