Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pills no longer drop down #122

Open
suedunham opened this issue Aug 10, 2020 · 4 comments
Open

Pills no longer drop down #122

suedunham opened this issue Aug 10, 2020 · 4 comments
Labels

Comments

@suedunham
Copy link

After installing the new update (2020-08-06), my pills no longer display the dropdown contents. These do work with Hogfather 3 and Bootstrap Wrapper 2017-04-07. I am using the nspages plugin (2020-07-09) to populate the dropdowns.

Wiki: Release 2020-07-29 "Hogfather"
Bootstrap3: Template v2020-07-29 (stable/20200729)

@Juergen-aus-Zuendorf
Copy link

I have the same problem under "Release 2018-04-22b Greebo"

@suedunham
Copy link
Author

I found a solution. The problem seems to be from using nspages here, as items listed manually work fine. With nspages, the ‑simpleList option no longer works in the pill; an empty list drops down with a bit of shading, but that's it. However, ‑simpleLineBreak does. ‑numberedList will work too, as it happens, but ‑tree will not.

@suedunham suedunham reopened this Aug 13, 2020
@suedunham
Copy link
Author

Reopened in case there is something that changed in Bootstrap Wrapper that could be addressed. Though the functionality can be preserved with ‑simpleLineBreak, the text formatting and line spacing is changed with that option. Maybe the problem is on the nspages end, but it did work with the previous Bootstrap Wrapper.

@suedunham
Copy link
Author

Here's a more full example of what I'm trying to do. Alas, the wiki is not public. The following code makes pills at the top of the page. An explicit list is given, and the same list is generated with the current version of nspages in three different ways, for the sake of comparison.

Wiki: Release 2020-07-29 "Hogfather"
Bootstrap3: Template v2020-07-29 (stable/20200729)
nspages: 2020-07-09

<pills justified="true">
  * Explicit
    * [[caleme]]
    * [[esenor]]
    * [[gardiren]]
    * [[heru]]
    * [[kaldor]]
    * [[kaldor_overview]]
    * [[minarsas]]
    * [[olokand]]
    * [[oselbridge]]
    * [[qualdris]]
    * [[tashal]]
  * SimpleList
    * <nspages -h1 -textPages="" -sortId -simpleList -exclude -exclude:start>
  * LineBreak
    * <nspages -h1 -textPages="" -sortId -simpleLineBreak -exclude -exclude:start>
  * Numbered
    * <nspages -h1 -textPages="" -sortId -numberedList -exclude -exclude:start>
</pills>

Here is a composite image of how these dropdowns are rendered in the previous version of Bootstrap Wrapper. The simpleList matches the explicit, for the most part, and this is what I am interested in using.
old_composite

Here are the same menus rendered by the new Bootstrap Wrapper. The simpleList is empty, and the others look like links rather than dropdown items.
new_composite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants