GFItemsCarousel rowcount bigger than images.length
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- dart, flutter
- Ambito
- frontend, mobile-dev
Direzione di ricerca
Start by reproducing GFItemsCarousel with rowCount set to 5 and three children, then inspect the GFItemsCarousel implementation and its drag or scrolling behavior. Done means dragging this configuration no longer causes rapid flashing or leaves the carousel with an incorrect offset, while the expected scrolling behavior is preserved.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Currently there is a bug if the row count is bigger than the children itself. The ui is fine but when you start to drag, the ui will flashing faster (it's going left and right very fast) and the it eventually will stop and it will make the offset very weird.
To Reproduce
Steps to reproduce the behavior:
final List<String> imageList = [
"https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg",
"https://cdn.pixabay.com/photo/2017/12/13/00/23/christmas-3015776_960_720.jpg",
"https://cdn.pixabay.com/photo/2019/12/19/10/55/christmas-market-4705877_960_720.jpg",
];
GFItemsCarousel(
rowCount: 5,
children: imageList.map(
(url) {
return Container(
margin: EdgeInsets.all(5.0),
child: ClipRRect(
borderRadius: BorderRadius.all(Radius.circular(5.0)),
child:
Image.network(url, fit: BoxFit.cover, width: 1000.0),
),
);
},
).toList(),
),
- As per code block above, the row must be higher than the number of children
- Based on the screenshot above, the green color box will be initial display. When the user scroll or drag the carousel, the red color box highlighted the bug happened
Expected behavior
Is either disabling the animation or physic scrolling.
- Lingua principale
- Dart
- Stelle
- 4.8k
- Fork
- 649
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ionicfirebaseapp/getwidget
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ionicfirebaseapp/getwidget#378 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
ionicfirebaseapp/getwidget#377 ·
-
GFToggle Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
ionicfirebaseapp/getwidget#355 ·
-
GfDatePicker Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
ionicfirebaseapp/getwidget#353 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ionicfirebaseapp/getwidget#352 · 1 commento ·
Tutte le issue di ionicfirebaseapp/getwidget
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
from.page-issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
[Super Editor][Chat] - Floating editor scaffold does not reset panel height after closing panel Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
a2ui-project/a2ui#2763 ·