<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ListView - remove inserted item -&gt; below items jump up?]]></title><description><![CDATA[<p dir="auto">Hi gurus!<br />
In my previous post here <a href="https://forum.qt.io/topic/80941/listview-insert-item-above-existing-one-do-not-move-push-down-the-existing-clicked-one">link text</a>, I inserted an item into the ListView on the fly.<br />
Now I would like to remove it again by clicking on the list element below this item and moving my finger/mouse up or down.<br />
The item goes away fine, but the items below jump up. So suddenly the mouse/finger is over another item in the list. I would rather see the items above go down, so the result looks like at the details below.<br />
At the moment I am using in <strong>ListView.onMovementStarted</strong> the function:<br />
<strong>positionViewAtIndex()</strong><br />
How do I force the element, that my finger/mouse is over, not to jump up?</p>
<p dir="auto">PS. When I move the list(while NEW item is open) pressing above items, it works fine.</p>
<p dir="auto">thanks+cheers<br />
Simon :-)</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/989955e7-ac97-4904-ac6f-a7bcc9fac2ee.jpg" alt="0_1499265011537_IMG_20170705_162249.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/81024/listview-remove-inserted-item-below-items-jump-up</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 06:18:30 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/81024.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Jul 2017 14:34:24 GMT</pubDate><ttl>60</ttl></channel></rss>