1.3.2 fix has caused dismissal pane to overflow now
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 28/100
Línea de trabajo
The body quotes a snippet that wraps an Align in a ClipRect and switches on value == 1; find that code in the repository by searching for clipBehavior, then read the git history of the 1.3.2 change that removed the conditional. Reproduce the left-side overflow by dragging a dismissible tile outside its ListView. Done means the tile stays clipped in that case and the change does not reintroduce the problem the 1.3.2 fix addressed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A fix was recently implemented in 1.3.2 to remove clipBehavior: value == 1 ? Clip.none : Clip.hardEdge
But this has now resulted in the tile overflowing on the left when dragged outside of the ListView it's placed inside - I think we need to use Clip.hardEdge to prevent this.
Is there an issue with just doing this?
final align = Align(
alignment: alignment,
heightFactor: axis == Axis.vertical ? value : null,
widthFactor: axis == Axis.horizontal ? value : null,
child: child,
);
// if (value == 1) {
// // We don't want to clip our child in normal conditions.
// return align;
// }
// We can't use ClipBehavior.none on Flutter versions < 3.
return ClipRect(
clipBehavior: Clip.hardEdge, <------ THIS SOLVES THE ISSUE
child: align,
);
- Lenguaje dominante
- Dart
- Estrellas
- 2.9k
- Forks
- 646
- Merge medio
- 5 min
- PR fusionados (30 d)
- 9
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de letsar/flutter_slidable
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
letsar/flutter_slidable#549 ·
Los mantenedores suelen responder en 1 día
-
Lock action-pane intent for a continuous drag until neutral settlePosiblemente ocupada @lukemmtt la tomó hace 195 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
letsar/flutter_slidable#546 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
letsar/flutter_slidable#541 ·
Los mantenedores suelen responder en 1 día
-
Example is not runnable on androidPosiblemente ocupada @akhil-ge0rge la tomó hace 351 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 18/100
letsar/flutter_slidable#540 ·
Los mantenedores suelen responder en 1 día
-
Dismissible pane customizationAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
letsar/flutter_slidable#535 ·
Los mantenedores suelen responder en 1 día
Todos los issues de letsar/flutter_slidable
Issues similares
-
effort
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
berkmancenter/frankly#742 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
google/protobuf.dart#1111 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PATILYASHH/XPENC#192 ·
-
area: database bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Two-column tablet layout crashes on mobile (Cozy stub)Posiblemente ocupada @jbrnzl la tomó hoy. Abiertoarea::rooms
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
linagora/twake-on-matrix#3569 ·
Los mantenedores suelen responder en 3 días