ParagraphReference.js popup position issue | Community
Skip to main content
Level 2
October 16, 2015
Solved

ParagraphReference.js popup position issue

  • October 16, 2015
  • 3 replies
  • 1372 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

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

3 replies

smacdonald2008
Level 10
October 16, 2015

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

edubey
edubeyAccepted solution
Level 10
October 16, 2015

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

Level 2
October 16, 2015

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.