Closed voges316 closed 1 year ago
Hey @voges316 , it looks like the prop name being used on <RuxTimeRegion>
is incorrect - instead of stop
it should be end
. ie: end="2023-05-03T22:00:00Z"
. Please let me know if that fixes the issue. If not, I'll investigate some more.
Thanks!
Thank you, it's hard to believe I missed that. And it is in the documentation, of course... The timeline appears to render properly after that change.
No worries at all! Please reach out if you need anything else.
Describe the bug Creating a basic timeline with a single track and time region in react, the time region will not display properly in the track, and by default is set to 'display: none'.
To Reproduce Using create-react-app: npm init react-app timeline-app Add astro 7.9.3 components to package.json "@astrouxds/astro-web-components": "^7.9.3", "@astrouxds/react": "^7.9.3",
Add a simple timeline to the App.js
cd timeline-app; npm install && npm start
Current behavior The track is blank, and the time region does not appear at all, even though the time should be valid.
Expected behavior The time region should render as a box within the track based on the start/stop times.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):