dosubot[bot] commented on issue #32027: URL: https://github.com/apache/superset/issues/32027#issuecomment-2621861374
<!-- Greeting --> Hey @jwoodb! 👋 I'm here to help you with any bugs, questions, or contributions you have for Apache Superset. Let's work together to resolve this issue! <!-- Answer --> The issue you're experiencing with the `SqlLabApp` component having a height of 0px might be related to the dynamic height adjustment logic in the component. The `SqlLabApp` component uses JavaScript logic to dynamically adjust its height based on the window size and user interactions. This is done using the `useEffect` hook, which recalculates the height on window resize events <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx)</sup>. If this logic isn't functioning as expected, it could result in the component not displaying correctly. Adding `height: 100vh` to the CSS is a workaround that forces the component to occupy the full viewport height, which is why it resolves the issue for you. To further investigate, you might want to check if the JavaScript logic responsible for setting the height is being executed correctly. Ensure that there are no errors or issues with the event listeners or the functions that calculate and set the height. Additionally, verify that all dependencies and configurations are correctly set up, as they might affect the execution of this logic. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/3df08b90-05fb-42e0-9342-d7bc9f4d6218?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/3df08b90-05fb-42e0-9342-d7bc9f4d6218?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/3df08b90-05fb-42e0-9342-d7bc9f4d6218?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/3df08b90-05fb-42e0-9342-d7bc9f4d6218?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3df08b90-05fb-42e0-9342-d7bc9f4d6218?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/3df08b90-05fb-42e0-9342-d7bc9f4d6218?feedback_type=other)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
