Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

confluence sidebar and livesearch, macro receives focus page and page edit shortcut keys stop working

Gavin Fowler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2016

Hi

I've added the livesearch macro to the global confluence sidebar configuration (Confluence Administration / General Configuration / Sidebar, Header & Footer), adding this content to the sidebar: 

{livesearch:spaceKey=@self}

 

The search works very well, adding space search to all confluence spaces, however, one anomaly raised is that the livesearch macro receives page focus (it has a blinking cursor ready for text entry), and as such page short cut keys, such as pressing "E" for edit, simply adds E into the livesearch box rather than the desired behaviour which would be to open the page for editing. 

Does anyone know if there are any techniques to shift page focus away from the livesearch macro when the page first renders?!

 

Many thanks!

1 answer

1 accepted

0 votes
Answer accepted
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2016

Hi Gavin,

There is a ticket in Atlassian Jira. You can vote for it. There is a description in the ticket, but in short the first text input within a <form> receives focus after page load.

Gavin Fowler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2016

Many thanks Andrey - I'll vote as suggested. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events