Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Solved Forum Last-Post Anchor Links Scroll to Middle of Page Instead of Top of Post

More
10 months 2 weeks ago - 10 months 2 weeks ago #233571 by sarrene
Hello and good day, It is me again. I have another slight difficulty:

Description:
When clicking a forum post link that includes a #[post-number] anchor (such as #123), the page scrolls to the middle of the post area instead of positioning the post at the top of the viewport.
This occurs for both new topics and replies.If I manually remove the #123 suffix from the URL, the page loads correctly with the post at the top.

I am using the same 9theme (CSS-customized) as a base template that I have used in the past, just upgraded for compatibility. I have repurchased the upgraded version and tested an unmodified updated version on a clean test site and still see the same behavior. In older versions of Kunena, this behavior did not occur. Since I skipped a few version updates during the upgrade, I am not sure exactly when or where this unwanted behavior was introduced.Example:

Unwanted behavior:
gyazo.com/cd4010a7acf7c9c4f009424bda844d66
Desired behavior (previous behavior):
gyazo.com/2b918dbea77f21e4b9780ca220d19802 Reproducibility:
  • No core files in Joomla or Kunena have been modified
  • Occurs on both new topic and reply post links
  • Occurs with all custom CSS and overrides removed
  • Occurs using the default Kunena template
  • Occurs using the default Joomla template
Questions:I have tested this by manually removing the #post-number from the URL, and it works as expected. The page loads correctly with the post at the top.Here are the additional steps I have taken while trying to troubleshoot this:
  • Disabled and/or removed "sticky" menu functionality for both my theme and the default
  • Cleared all caches (server-side, Joomla cache, browser cache in Chrome, Firefox, Edge)
  • Ran Kunena diagnostic tools multiple times
  • Recounted Kunena statistics
  • Checked and optimized all Kunena and Joomla database tables (removed any overhead)
  • Verified behavior using both desktop and mobile browsers
  • Disabled all third-party plugins and modules temporarily to rule out conflicts
  • Enabled debug mode in Joomla to check for JavaScript or routing errors (none found)
  • Verified that no JavaScript scroll or animation scripts are interfering with anchor behavior
Questions:
  1. Is there a known reason why the anchor scroll behavior has changed in recent Kunena versions?
  2. Is there a way to adjust the scroll behavior so the linked post appears at the top of the page rather than the middle?
  3. Alternatively, is it possible to safely remove the #post-number suffix from links without breaking functionality?
Thank you for any insights or suggestions, as once more I am at a loss.

Peace is not what you seek in the world, but what you find within yourself.
Last edit: 10 months 2 weeks ago by xillibit. Reason: Remove attachment

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago - 10 months 2 weeks ago #233572 by Pinkeltje
The message disappears behind your sticky header. Can be solved by adding this to your custom.css
Code:
#kunena.layout .kunena-topic-item .message-published .kmsg-wrap .mykmsg-header > a { scroll-margin-top: 120px; }
BTW: never put your configuration report in an attachment as now your confidential info is visible to the public. Instead paste it in a message.
Last edit: 10 months 2 weeks ago by Pinkeltje.
The following user(s) said Thank You: sarrene

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #233573 by sarrene
Good afternoon Pinkeltje, 
I had thought I set that to "Set attachment as Private". Sadly I cannot seem to edit my original topic. I will have to check the other post I had made now. However, thank you for letting me know! 

On topic: That is a perfect fix! Thank you so much! 

Now, if i can figure out how to remove that file.... 

Peace is not what you seek in the world, but what you find within yourself.

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago - 10 months 2 weeks ago #233575 by Pinkeltje
Use Report this to ask a moderator to delete attachment.
Last edit: 10 months 2 weeks ago by Pinkeltje.
The following user(s) said Thank You: sarrene

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #233576 by sarrene
Yep! I already did that :) 
Again, thank you so much. 
 

Peace is not what you seek in the world, but what you find within yourself.

Please Log in or Create an account to join the conversation.

Time to create page: 0.240 seconds