can't left allign. Tried everything.

Aberta
#858 14 comentários 8 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
javascript, react-native
Domínio
mobile

Direção de pesquisa

Start by reproducing the reported width and alignment changes with the datetimepicker and the date shown in the attached video. Check the React Native layout and platform-specific picker behavior to identify where the size changes. Done means the picker stays left-aligned as its displayed date changes, or has a fixed width that aligns with neighboring elements; the issue names no source files or tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Hi All, I've been stuck on this for far too long and I've done way more complicated UIs, but can't figure this one out, so asking the help from the community!

As you can see from the video, the datetimepicker ( https://github.com/react-native-datetimepicker/datetimepicker) changes size depending on the date selected. I tried my best, limiting max width, min width, width or wrapping it in a view and so on.

What I'm tried to achive is to have the picker left alignment fixed. If it want's to expand it can be on the right side. I don't get why i can't do this. Another acceptable solution would be to fix the width so that it can neither expand or shrink so that I can the allign it with other elements.

Any help?

https://github.com/react-native-datetimepicker/datetimepicker/assets/86076488/15a99329-e27a-4959-97fb-517cff538037

image
Linguagem predominante
JavaScript
Estrelas
2.9k
Forks
459
Merge médio
4d 16h
PRs com merge (30d)
5

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de react-native-datetimepicker/datetimepicker

Todas as issues de react-native-datetimepicker/datetimepicker

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.