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

Create an empty element on manual page break. #2656

Open
wemerson-pete opened this issue Nov 20, 2023 · 0 comments
Open

Create an empty element on manual page break. #2656

wemerson-pete opened this issue Nov 20, 2023 · 0 comments

Comments

@wemerson-pete
Copy link

When I break the page in an element manual, will be auto created an empty element with the wrong borders:

Screenshot from 2023-11-20 19-04-58

CODE:

{
	table: {
		body: [
				  [
				      { text: 'Question 1?', border: [false, false, false, false]},
				      { text: 'Value', border: [false, false, false, true], pageBreak: 'after' }
				  ],
				  [
				      { text: 'Question 2?', border: [false, false, false, false]},
				      { text: 'Value', border: [false, false, false, true] }
				  ]
		],
			  widths: ['auto', '*']
	}
}

The Value (Second Page) should not have a border-top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant