Skip to content

no refresh for b:tab against p:tab with p:gmap #41

@Kristover

Description

@Kristover

Hi,
i encounter a problem with a distinctive comportment between p:tab and b:tab when it is the second tab (not active one) and where you put a gmap.
Let's try the following code : If you click on 2nd p:tab, gmap is displaying. If you click on 2nd b:tab, the gmap is not displaying ?

<h:form>
        <b:row><b:column offset="2" col-lg="8">
           <b:tabView>
               <b:tab title="Test"></b:tab>
               <b:tab title="Test with b">
               <b:panel style="height: 400px">
                   <p:gmap center="49.005268,2.113863" type="ROADMAP" zoom="14" style="width:300px;height:300px"/>
               </b:panel>
               </b:tab>
            </b:tabView>
        </b:column></b:row>

        <b:row><b:column offset="2" col-lg="8">
           <p:tabView activeIndex="0" style="height:500px; width:100%;">
               <p:tab title="Test" ></p:tab>
               <p:tab title="Test with p" >
                    <p:gmap center="49.005268,2.113863" type="ROADMAP" zoom="14" style="width:300px;height:300px"/>
               </p:tab>
            </p:tabView>
        </b:column></b:row>
  </h:form>

Thanks in advance for any advice.
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions