mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #3965, Improve build and Added *Base models
This commit is contained in:
parent
f4ba20b222
commit
9247620421
134 changed files with 4230 additions and 1729 deletions
|
@ -654,7 +654,13 @@ describe('DomHandler', () => {
|
|||
it('When getSelection is not empty', () => {
|
||||
const scrollDiv = document.createElement('div');
|
||||
|
||||
scrollDiv.className = 'p-scrollbar-measure';
|
||||
DomHandler.addStyles(scrollDiv, {
|
||||
width: '100px',
|
||||
height: '100px',
|
||||
overflow: 'scroll',
|
||||
position: 'absolute',
|
||||
top: '-9999px'
|
||||
});
|
||||
document.body.appendChild(scrollDiv);
|
||||
const scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue