Snackbars have wrong anchoring / padding

Aperta
#3,746 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #4521 di @mvanhorn — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

Riproduci il problema su wikipedia.org seguendo i passaggi precedenti, quindi esamina le modifiche all’ancoraggio della snackbar introdotte da PR 3680. Controlla le posizioni della barra degli strumenti e della tastiera e il relativo padding; il lavoro è completato quando la snackbar appare sopra ciascuno dei due con una spaziatura ridotta e corretta, invece di sovrapporsi o lasciare un padding pari all’altezza della tastiera.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

🐞 bug
Steps to reproduce
  1. Open wikipedia.org (just because it has it's own search box that would trigger the keyboard to show)
  2. Long click on a link to open it in a new tab
  3. Tap the website's input box to see the keyboard
Expected behavior
  • The keyboard is shown above the toolbar (Y axis), with a small padding between them
  • The keyboard is shown above the keyboard (Y axis), with a small padding between them
Actual behavior
  • The keyboard is shown on top of the toolbar (Z axis)
  • The keyboard is shown above the keyboard (Y axis), with a hude padding between them (the keyboard height?)
Other details

The bug related to the toolbar anchoring seems like an old issue.
The bug related to the keyboard anchoring seems to have been introduced by https://github.com/mozilla-mobile/reference-browser/pull/3680

Recording of the issue: https://github.com/user-attachments/assets/3bf0a18d-88b3-414f-9899-8c35f1a50507

Lingua principale
Kotlin
Stelle
668
Fork
198
Merge medio
9h 58m
PR unite (30g)
55

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mozilla-mobile/reference-browser

Tutte le issue di mozilla-mobile/reference-browser

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.