Slidable position is reseting after refresh.

オープン
#445 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
dart, flutter
領域
mobile

調査の方向性

The payload names no files or entry points, so start from the Slidable widget and how its open position is kept across rebuilds triggered by a parent's notifyListeners(). Build a minimal list example with a delete action that swaps in a spinner, and check whether the slide state is lost when the item is rebuilt. Done means the reporter's scenario keeps the slide position, or the cause is written up with a reproduction. The issue has no comments and has been open about three years, so expect little maintainer input.

索引モデルが issue の本文から書いたものです。

説明

I want to have a behaviour like this:

  • have a delete button
  • when delete is pressed i have a waitingLogic
  • in that waiting time i want to replace the delete button with a loading spinner (based on a variable)
    my problem is that when i use notifyListeners(), slidable position is reseted.

How can i achieve that behaviour?

主要言語
Dart
スター
2.9k
フォーク
646
平均マージ
5分
マージ済み PR(30日)
9

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

letsar/flutter_slidable のほかの issue

letsar/flutter_slidable の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。