[GH-ISSUE #167] Feature: Scrollbar #107

Closed
opened 2026-05-05 11:43:03 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Cedware on GitHub (Jul 18, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/167

Hi,
I think a Scrollbar would be a very usefull feature, especially if we need to display a long text.
A thought about something like this:

<Box scroll="vertical">
	<StyledText>
		{this.someLongText}
	</StyledText>
</Box>

Originally created by @Cedware on GitHub (Jul 18, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/167 Hi, I think a Scrollbar would be a very usefull feature, especially if we need to display a long text. A thought about something like this: ``` <Box scroll="vertical"> <StyledText> {this.someLongText} </StyledText> </Box> ```
gitea-mirror 2026-05-05 11:43:03 -06:00
Author
Owner

@mischnic commented on GitHub (Jul 18, 2018):

A scrollable box isn't possible, that would need to be implemented in the underlying libui library: https://github.com/andlabs/libui/issues/178.

A scrollable area however is implemented in libui, but not yet in proton-native: #130. If it were, you could something along the lines of:

<Area scrolling={{w: 100, h: 100}}>
	<Area.Text>
		{this.someLongText}
	</Area.Text>
</Area>
<!-- gh-comment-id:405872203 --> @mischnic commented on GitHub (Jul 18, 2018): A scrollable *box* isn't possible, that would need to be implemented in the underlying libui library: https://github.com/andlabs/libui/issues/178. A scrollable *area* however is implemented in libui, but not yet in proton-native: #130. If it were, you could something along the lines of: ```jsx <Area scrolling={{w: 100, h: 100}}> <Area.Text> {this.someLongText} </Area.Text> </Area>
Author
Owner

@kusti8 commented on GitHub (Jan 19, 2020):

Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.

<!-- gh-comment-id:576029429 --> @kusti8 commented on GitHub (Jan 19, 2020): Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#107
No description provided.