Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

showOrientationAxis doesn't work anymore

Aperta
#78 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript

Direzione di ricerca

Start with the change introduced by issue #59 and reproduce the failure using the linked CodeSandbox, focusing on View components with showOrientationAxis={true}. Determine whether renderer and renderwindow are undefined in this usage, then confirm the preferred behavior with the maintainer. Done means the orientation axis works again for the demonstrated View usage and the regression is covered by an appropriate test.

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

Descrizione

It looks like: #59 introduced a bug meaning View components with showOrientationAxis={true} no longer works. here is a codesandbox demo: https://codesandbox.io/s/react-vtk-with-data-template-k86emm?file=/src/App.js

I believe there are 2 approaches:

  • force the user to specify a renderer and renderwindow
  • if renderer and renderwindow are undefined create them as before (probably better?)

Happy to do the PR if you guide upon which solution is preferred

Lingua principale
TypeScript
Stelle
86
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la 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 Kitware/react-vtk-js

Tutte le issue di Kitware/react-vtk-js

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.