[
https://issues.apache.org/jira/browse/JSPWIKI-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18137970#comment-18137970
]
Arturo Bernal commented on JSPWIKI-1322:
----------------------------------------
[~weberjn], the source files are not what the wiki runs: the build merges and
minifies Wiki.js and the .less files (wro4j, in the prepare-package phase) into
scripts/haddock.js and templates/default/haddock.css. After {{mvn clean
test-compile}} these files do not exist, and after {{mvn package}} they do.
Please run {{mvn clean package -DskipTests}} from the root of the project and
deploy the new war. In my build the unpacked web application is
jspwiki-war/target/JSPWiki (upper case), and jspwiki-war/target/jspwiki only
holds the data directory of the wiki.
To check that you have the new build, templates/default/haddock.css must
contain this:
{noformat}
.fixed-header>.header{position:-webkit-sticky;position:sticky;top:0
{noformat}
After deploying, reload with the cache emptied, because the browser may keep
the old haddock.css. If it still flashes, tell me how you run JSPWiki (Tomcat,
Jetty, IDE) and I will look at that.
> Page flashing on reload
> -----------------------
>
> Key: JSPWIKI-1322
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1322
> Project: JSPWiki
> Issue Type: Bug
> Components: Templates and UI
> Affects Versions: 3.0.0
> Reporter: Jürgen Weber
> Priority: Major
> Labels: pull-request-available
> Attachments: 2026-11-03 17_20_18-Wiki-Screenshot.jpg
>
>
> On reloading the browser page, the main content is pulled upwards and goes
> down again, this results in the page flashing.
> This annoys our users.
> Continually reloading allows to screenshot this, see attachment.
> This is in 3.0.0 release and current master3. Reproduced in Firefox and Edge.
>
> Maybe related to JSPWIKI-9 ?
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)