Hot module reload triggering twice on iOS Device seems to breaks to show keyboard
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 38/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- angular, ios, typescript
Direção de pesquisa
Comece executando o comando relatado ns run --device ... e compare a saída e o comportamento do teclado com --no-hmr; inspecione o package.json do projeto e o ponto de entrada src/main.ts. Considera-se concluído quando o app e o HMR são iniciados uma vez em um dispositivo iOS e TextField ou SearchBar abre o teclado de forma confiável com o HMR habilitado.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
{
"name": "mobile-app",
"main": "./src/main.ts",
"version": "1.0.0",
"private": true,
"dependencies": {
"@angular/animations": "~19.0.0",
"@angular/common": "~19.0.0",
"@angular/compiler": "~19.0.0",
"@angular/core": "~19.0.0",
"@angular/forms": "~19.0.0",
"@angular/platform-browser": "~19.0.0",
"@angular/platform-browser-dynamic": "~19.0.0",
"@angular/router": "~19.0.0",
"@apollo/client": "^3.12.6",
"@nativescript/angular": "^19.0.0",
"@nativescript/core": "~8.8.0",
"apollo-angular": "^8.0.0",
"graphql": "^16.10.0",
"rxjs": "~7.8.0",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~19.0.0",
"@angular/compiler-cli": "~19.0.0",
"@nativescript/android": "8.8.6",
"@nativescript/ios": "8.8.2",
"@nativescript/tailwind": "^2.1.0",
"@nativescript/types": "~8.8.0",
"@nativescript/webpack": "~5.0.0",
"@ngtools/webpack": "~19.0.0",
"tailwindcss": "~3.4.0",
"typescript": "~5.6.0"
}
}
Describe the bug
When running on iOS It's observed that when an input such as TextField or SearchBar get focus the keyboard doesn't launch.
It been observed that the app launch twice as well as HMR triggering twice, the hmr appears to break the keyboard to launch.
To Reproduce
ns run --device xxxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx
Restarting application on device xxxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx...
[HMR][11bea14ccf932a8eee02] boot | HMR Enabled - waiting for changes...
Angular is running in development mode.
Successfully run application com.test.app on device with ID xxxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx.
[HMR][11bea14ccf932a8eee02] boot | HMR Enabled - waiting for changes...
Angular is running in development mode.
NativeScript debugger has opened inspector socket on port 18183 for com.test.app.
Successfully synced application com.test.app on device xxxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx
Expected behavior
When click on TextField or SearchBar the keyboard should appears
Sample project
Additional context
The is issue is not found and the keyboard show when click on TextField or SearchBar when running with --no-hmr flag e.g: ns run --device xxxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx --no-hmr It's aslo observed that the app and hmr only launch and print once
Restarting application on device xxxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx...
[HMR][672c06c86d338110b392] boot | HMR Enabled - waiting for changes...
Successfully synced application com.test.app on device xxxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx.
Angular is running in development mode.
- Linguagem predominante
- TypeScript
- Estrelas
- 55
- Forks
- 13
- Merge médio
- 16min
- PRs com merge (30d)
- 1
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NativeScript/angular
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
NativeScript/angular#170 · 1 comentário ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
NativeScript/angular#164 ·
-
My types are gone Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 45/100
NativeScript/angular#163 · 1 comentário ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 38/100
NativeScript/angular#158 · 1 reação ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
NativeScript/angular#155 ·
Todas as issues de NativeScript/angular
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
0xMiden/bridge-portal#132 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
area:tools bug good first issue help wanted priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
newrelic-experimental/preflight#793 · 1 comentário ·