framework7 icon indicating copy to clipboard operation
framework7 copied to clipboard

Autocomplete positionDropDown Bug in Popup

Open bpshonyak opened this issue 9 years ago • 2 comments

This is a (multiple allowed):

  • [x] bug

  • [ ] enhancement

  • [ ] feature-discussion (RFC)

  • Framework7 Version: 1.5.2

  • Platform and Target: CORDOVA [iOS and Android]

  • Live Link or JSFiddle/Codepen: https://codepen.io/bpshonyak/pen/bgKzae

What you did

I created a simple popup with an input field that used autocomplete.

Expected Behavior

When I click on the input field I expect the autocomplete to work just like it does on a page.

Actual Behavior

The autocomplete input field does not work because the positionDropDown function uses the .page-content class which is not present in the popup.

bpshonyak avatar Feb 06 '17 07:02 bpshonyak

In this case the following structure is required and always recommended in Popup:

.popup
  .view
    .page
      .page-content

To make all things work correctly. Page-content is required for Autocomplete to work, otherwise it is pretty hard (and heavy) to detect correct position and all scrollable layers

nolimits4web avatar Mar 06 '17 21:03 nolimits4web

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jun 25 '18 08:06 lock[bot]