Expand my Community achievements bar.

SOLVED

ParagraphReference.js popup position issue

Avatar

Level 3

Hi All,

Is their any way to fix the position of an Paragraph reference popup by including the default js file provided by Adobe /libs/cq/ui/widgets/source/widgets/form/ParagraphReference.js using it the position doesn't remain fix and popup move to the top of the page.

One way we found is to overwrite the file and create project specific copy and modify the logic but it will be helpful if somebody let us know the better way by which this can be achieved.

Thanks in advance,

Shikha

1 Accepted Solution

Avatar

Correct answer by
Level 10

Your approach seems to good. It is always recommend to override default behavior rather than changing default one. 

View solution in original post

3 Replies

Avatar

Level 10

Over laying components - like you did - is the recommended way to achieve custom requirements in AEM components. 

Avatar

Correct answer by
Level 10

Your approach seems to good. It is always recommend to override default behavior rather than changing default one. 

Avatar

Level 3

smacdonald2008 wrote...

Over laying components - like you did - is the recommended way to achieve custom requirements in AEM components. 

 

Hi,

Thanks for the response.

I agree the way we are trying to solve the problem is correct but it is not future compact-able.So just want to know if we can fix this without overwriting.

Please suggest.