Property of hidden does not work in ProxyViewContainer
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- typescript
- Bereich
- mobile
Rechercherichtung
Beginne damit, die Implementierung von ProxyViewContainer und die Art zu lokalisieren, wie dessen hidden-Eigenschaft auf untergeordnete Inhalte angewendet wird. Reproduziere anschließend das TypeScript-Beispiel aus dem Issue und überprüfe dann, dass das Setzen von hidden auf true die Labels des Containers ausblendet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Issue Description
When I set ProxyViewContainer.hidden = true, content of the container still shown.
Expected behavior:
When I set ProxyViewContainer.hidden = true, the content should be hidden.
Reproduction
import { Application, Label, ProxyViewContainer, RootLayout } from '@nativescript/core'
Application.run({
create: () => {
const root = new RootLayout()
const fragment = new ProxyViewContainer()
const label1 = new Label()
const label2 = new Label()
label1.text = 'Label 1'
label2.text = 'Label 2'
fragment.addChild(label1)
fragment.addChild(label2)
fragment.hidden = true
root.addChild(fragment)
return root
},
})
Relevant log output (if applicable)
Environment
OS: macOS 26.0.1
CPU: (8) arm64 Apple M1
Shell: /bin/zsh
node: 22.21.0
npm: 10.9.4
nativescript: 8.9.3
# android
java: Not Found
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found
# ios
xcode: 26.0.1/17A400
cocoapods: 1.16.2
python: Not Found
python3: 3.11.5
ruby: 3.4.7
platforms:
- DriverKit 25.0
- iOS 26.0
- macOS 26.0
- tvOS 26.0
- visionOS 26.0
- watchOS 26.0
Dependencies
"dependencies": {
"@innet/jsx": "^2.0.0-rc.1",
"@innet/utils": "^2.0.0-alpha.1",
"@nativescript/core": "~8.9.0",
"@nativescript/theme": "^3.1.0",
"innet": "^2.0.0-alpha.3",
"watch-state": "^3.5.0-alpha.3"
},
"devDependencies": {
"@nativescript/ios": "8.9.5",
"@nativescript/types": "~8.9.1",
"@nativescript/webpack": "~5.0.0",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"eslint": "^8.43.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^4.1.4",
"ts-loader": "^9.5.4",
"typescript": "~5.4.0"
}
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25.7k
- Forks
- 1.7k
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 35
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NativeScript/NativeScript
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
NativeScript/NativeScript#11068 ·
-
bug-pending-triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 66/100
NativeScript/NativeScript#11436 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
NativeScript/NativeScript#11421 ·
-
bug-pending-triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
NativeScript/NativeScript#11415 ·
-
bug-pending-triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
NativeScript/NativeScript#11374 ·
Alle Issues in NativeScript/NativeScript
Ähnliche Issues
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
vicharanashala/fln#563 ·