<table><tr><td style="">ngraham added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26354">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D26354#589352" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D26354#589352</a>, <a href="https://phabricator.kde.org/p/mart/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@mart</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>also a component like that back then was chosen to not be added by purpose in part because gesture-wise conflicts with the navigate back of pagerow</p></div>
</blockquote>

<p>Personally I don't find Kirigami's swipe-left-and-right-to-navigate-through-the-stack gestures to be very useful. You generally only ever use a swipe to go backwards, because to navigate forward you just tap the item. And having these swipes bound to pagerow navigation prevents the use of more useful gestures like these. I find these kinds of gesture-actions super useful in iOS and Android apps (particularly email apps where I use it to delete emails quickly).</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>every component added in kirigami needs to work as is on the desktop as well, modifying itself as much as needed.</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">(in this case it would get fixed buttons for the actions at the edges i guess)</pre></div></blockquote>

<p>This would suggest to me that we need to add these gestures to an even higher level component, or to add this to a BasicLictItem with <tt style="background: #ebebeb; font-size: 13px;">leftSwipeAction:</tt> and <tt style="background: #ebebeb; font-size: 13px;">rightSwipeAction</tt> properties or something, kind of like how SwipeListItem shows buttons on desktop. That way it the component would have buttons on desktop, and use the specified swipe actions on mobile automatically.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26354">https://phabricator.kde.org/D26354</a></div></div><br /><div><strong>To: </strong>cblack, VDG, Kirigami, mart<br /><strong>Cc: </strong>mart, ouwerkerk, ngraham, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, apol, ahiemstra, davidedmundson, hein<br /></div>