• Manish Baldota
  • NEWBIE
  • 0 Points
  • Member since 2016
  • test

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi Folks,

As we have seen if we upload file more than 2 GB it maximum time to uplaod the file and file upload it shows error, I want to block the file at the time of file section with Lightning-file-upload or Lightning:upload.
So I can avoid the maximum uplaod timeRestrict file before upload in lightning-file-upload. 

Thanks in Advance....!!
Hello,

The below is my code for header in lightning component. When I used position fixed in this, it works fine in my desktop but not in my mobile and by using position fixed, width changes and overlaps with the next div after header div
code:-

code:-

<div class="" style="position:fixed;z-index:2">
        <div class="slds-page-header inputFormHeader slds-page-header__row slds-page-header__col-title slds-media slds-media__figure">
                       <!-- <lightning:icon iconName="standard:service_appointment_capacity_usage" alternativeText="Event" title="Event" /> -->
                        <lightning:icon iconName="standard:service_appointment" alternativeText="Service Appointment" title="Service Appointment" />
                    
                        <div class="slds-media__body header Title container lgc-bg menuButtons" style="font-size: 21px;font-weight: 100;">
                          
                                <lightning:buttonMenu label="{!v.selectedValue}" onselect="{!c.handleMenu}" alternativeText="Show menu" variant="bare">
                                    <aura:iteration items="{!v.options}" var="item">
                                        <lightning:menuItem checked="{!item.label == v.selectedValue}" value="{!item.value}" label="{!item.label}" />
                                    </aura:iteration>
                                    
                                </lightning:buttonMenu>
                        </div>
            <div class="slds-page-header__controls slds-page-header__control">
                   
                   <span class="calendarIcon" onclick=""> 
                        <lightning:icon style="position:absolute;"
                                        id="datepickerIdIcon1" iconName="standard:event" alternativeText="Approved" title="Approved" />
                    </span>
                    
                    <input readonly="readonly" style="width: 31px;
                                  border: none;
                                  box-shadow: none;background-color: transparent;"  id="datepickerId" type="text"  onfocus="DatePicker.pickDate(false, this , false);" class="slds-input calendar" />
                    
                </div>
            </div>
    </div>

Thanks,
Sonakshi
hi all
any idea how to keep a <div> fixed in lightning?
slds-is-fixed/style="position:fixed works fine in chrome desktop version to fix my footer.but not working in salesforce1.any help wud be appreciated.Thanks in advance.