Comments (8)
Actually I just found this #10663
Was in a bit of a rush yesterday and didn't check, this issue is probably a duplicate 🙂
I'm okay with closing if this is done by design. Still a bit confusing though that the position is reset on scroll IMO but there's probably some edge case this covers I'm not aware of right now
from primefaces.
@jungm does it work with responsive="false".
??
from primefaces.
@melloware yeah it does, but that also disables resetting the dialogs position when the window is resized.
IMO I'd like to see both work:
- Position is not reset on scroll
- Position is reset when window is resized
from primefaces.
Ok so I think you are saying you want to separate scrollable and resizable from Responsive?
from primefaces.
So i looked we do this because when scrolling down the page it forces the dialog to stay centered and scroll down the page. Is your real issue that you don't want the page to scroll? You could use blockScroll="true"
to stop the browser scrollbar while the dialog is displayed?
from primefaces.
actually does positionType="absolute"
fix it to how you want it?
<p:dialog visible="true" positionType="absolute">
from primefaces.
So i looked we do this because when scrolling down the page it forces the dialog to stay centered and scroll down the page.
Exactly this is what felt odd to me, I don't want to block scrolling or switch it to absolute positioning. Just that it stays where I left on my screen as I scroll the rest of the page and does not jump back to the original position
from primefaces.
OK yeah I will mark by design!
from primefaces.
Related Issues (20)
- AutoComplete: Custom HTML content is destoyed by query matches highlighting HOT 3
- AjaxStatus: Not returning to default when located outside the ajax partial submit update scope HOT 6
- jQuery UI 1.13.3
- Spinner: serverside input validation HOT 1
- AutoComplete no empty message if forceSelection is false or introduce a new attribute showEmptyMessage HOT 7
- SONAR: enable quality checks on JS/CSS files
- Menu: Provide screen reader compliant navigation for accessibility. HOT 2
- SelectCheckboxMenu: Update accessibility HOT 8
- Core: Do not shade BoundedInputStream
- Dialog: Focus from input lost in very short time after dialog opened HOT 6
- SONAR: Fix JS issues HOT 2
- SONAR: Fix CSS issues HOT 2
- Captcha: command button not working with p:captcha HOT 5
- JDK8: `org.json` dependency causes java version mistatch HOT 4
- SubTable: still alive even after been announced deprecated in 10.0.0 HOT 8
- Integration-tests: move to JakartaEE (10) HOT 6
- FileUpload (advanced): DragAndDrop not working, javascript error HOT 6
- DataTable: Select/unselect all with selectionPageOnly="false" does not work properly HOT 7
- Charts axis ticks are not completely visible HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primefaces.