Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minPresenceAhead with Row and Column Layout - Children break #2595

Open
KalanaPerera opened this issue Feb 4, 2024 · 0 comments
Open

minPresenceAhead with Row and Column Layout - Children break #2595

KalanaPerera opened this issue Feb 4, 2024 · 0 comments
Labels

Comments

@KalanaPerera
Copy link

Describe the bug
I am creating a Row and 2 Column layout to show the list of items, As you see, name and id break.

<View class={style.row} minPresenceAhead={40}>
<View  class={style.column} >
<Text style={styles.name}>{item.name}</Text>
<Text style={styles.id}>ID: {item.id}</Text>
</View>
<View  class={style.column} >
<Text style={styles.name}>{item.name}</Text>
<Text style={styles.id}>ID: {item.id}</Text>
</View>
</View>

Link to react-pdf REPL

Expected behavior

If the space not enough, entire ROW should be move to next. In this Senario Both Grapes and Mango should be in next page.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome
  • React-pdf version : 3.3.5 (repl), 3.0.1 (locally)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants